#include <lib-lib/macros.h>
#include <lib-lib/buffer.h>
#include <lib-lib/date.h>
-#include <lib-lib/debug.h>
#include <lib-lib/url.h>
#include "recvattach.h"
if (!*p)
continue;
} else {
- debug_print (1, ("bogus MIME header: %s\n", line));
break;
}
}
if (count < 4) { /* don't check for missing timezone */
- debug_print (1, ("error parsing date format, using received time\n"));
return -1;
}
rfc2047_decode_envelope(e);
/* check for missing or invalid date */
if (hdr->date_sent <= 0) {
- debug_print(1, ("no date found, using received "
- "time from msg separator\n"));
hdr->date_sent = hdr->received;
}
}