Mercurial > libpst
diff src/readpst.c @ 279:8c2c7d8d7518
ignore internet headers that don't seem to be real rfc822 headers
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 22 May 2011 15:52:12 -0700 |
parents | 06e723720db0 |
children | f897afe47db0 |
line wrap: on
line diff
--- 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; } }