Imported Upstream version 2.5.0
[debian/amanda] / recover-src / uscan.l
index 2a53cfab8694ca009fb21e5e81ff3f3b127e8bd0..66624ae090e53848b7acca0296b066dca908f732 100644 (file)
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: uscan.l,v 1.14.2.3.4.1.2.3 2004/02/11 13:03:52 martinea Exp $
+ * $Id: uscan.l,v 1.22 2004/02/11 13:03:29 martinea Exp $
  *
  * lexer for amrecover interactive language
  */
@@ -194,7 +194,7 @@ char *text;
        yyerror("invalid day");
     } else {
        yylval.strval = alloc(DATE_ALLOC_SIZE);
-       ap_snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d", y, m, d);
+       snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d", y, m, d);
        ret = DATE;
     }
     return ret;