Imported Upstream version 2.5.2p1
[debian/amanda] / server-src / chunker.c
index 8d89fd74d08da3e70c9735e9d13d4c5b85e80aaa..043edba80ea9b7147d2784b83190c8fca26fdc74 100644 (file)
 #include "util.h"
 #include "holding.h"
 
+#define chunker_debug(i,x) do {                \
+       if ((i) <= debug_chunker) {     \
+           dbprintf(x);                \
+       }                               \
+} while (0)
+
 #ifndef SEEK_SET
 #define SEEK_SET 0
 #endif
@@ -137,7 +143,7 @@ main(
     erroutput_type = (ERR_AMANDALOG|ERR_INTERACTIVE);
     set_logerror(logerror);
 
-    parse_server_conf(main_argc, main_argv, &new_argc, &new_argv);
+    parse_conf(main_argc, main_argv, &new_argc, &new_argv);
     my_argc = new_argc;
     my_argv = new_argv;
 
@@ -877,7 +883,7 @@ common_exit:
 
 
 /*
- * Send an Amanda dump header to the output file.
+ * Send an Amanda dump header to the output file and set file->blocksize
  */
 static ssize_t
 write_tapeheader(