Imported Debian patch 2.4.5-2
[debian/amanda] / client-src / amqde.c
index 731ad09efbc8bd31ab9924b9f3bc5cd9538a7104..a0ec139fe168825cc88448332347515dcfe9694d 100644 (file)
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: amqde.c,v 1.1.2.1 2003/10/24 20:38:23 kovert Exp $
+ * $Id: amqde.c,v 1.1.2.1.2.1 2004/08/05 11:35:35 martinea Exp $
  *
  * the central header file included by all amanda sources
  */
@@ -147,7 +147,7 @@ main(argc, argv)
                        if (strcmp(de->d_name, ".") == 0 || strcmp(de->d_name, "..") == 0)
                                continue;
 
-                       snprintf(buf, sizeof(buf) - 1, "%s/%s", new->dirname, de->d_name);
+                       ap_snprintf(buf, sizeof(buf) - 1, "%s/%s", new->dirname, de->d_name);
 
 #ifdef USE_STRHASH
                        if (should_exclude(hash, buf))