lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / fileheader.c
index 32bce0d014412ab9642759390ffe3106b3faafbc..7bd5a3568f711677f57d6e958dedc479420b3bad 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1999 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -132,14 +133,14 @@ parse_file_header(
 
     tok = strtok_r(line1, " ", &saveptr);
     if (tok == NULL) {
-        g_debug("Empty amanda header: buflen=%zu lsize=%zu", buflen, lsize);
+        g_debug("Empty amanda header: buflen=%zu lsize=%zu buf='%s'", buflen, lsize, buf);
        strange_header(file, buffer, buflen, _("<Non-empty line>"), tok);
        goto out;
     }
 
     if (strcmp(tok, "NETDUMP:") != 0 && strcmp(tok, "AMANDA:") != 0) {
        amfree(buf);
-       file->type = F_UNKNOWN;
+       file->type = F_WEIRD;
        amfree(line1);
        return;
     }