Imported Upstream version 2.5.1p1
[debian/amanda] / server-src / logfile.c
index c1d3e26b35ac1609dfc408b5c721c2df2c2cbf94..9741f43e9986c48ad92c3c0ea3e0b3cca3e5d337 100644 (file)
@@ -25,7 +25,7 @@
  *                        University of Maryland at College Park
  */
 /*
- * $Id: logfile.c,v 1.31 2006/06/01 14:54:39 martinea Exp $
+ * $Id: logfile.c,v 1.31.2.1 2006/09/22 11:02:13 martinea Exp $
  *
  * common log file writing routine
  */
@@ -104,6 +104,7 @@ printf_arglist_function2(char *log_genstring, logtype_t, typ, char *, pname, cha
     arglist_start(argp, format);
     vsnprintf(linebuf, SIZEOF(linebuf)-1, format, argp);
                                                /* -1 to allow for '\n' */
+    arglist_end(argp);
     return(vstralloc(leader, linebuf, "\n", NULL));
 }