# HG changeset patch # User Carl Byington # Date 1306104732 25200 # Node ID 8c2c7d8d7518aa646fd3e0e6323d720cd821f53d # Parent 06e723720db0228724f9191d194fbaaed508019e ignore internet headers that don't seem to be real rfc822 headers diff -r 06e723720db0 -r 8c2c7d8d7518 src/readpst.c --- a/src/readpst.c Sun May 22 15:23:04 2011 -0700 +++ b/src/readpst.c Sun May 22 15:52:12 2011 -0700 @@ -1096,7 +1096,9 @@ return 1; } else { - DEBUG_INFO(("Ignore bogus headers = \n%s\n", header)); + if (strlen(header) > 2) { + DEBUG_INFO(("Ignore bogus headers = %s\n", header)); + } return 0; } }