aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-11 21:01:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-11 21:01:31 +0800
commitd99fd19df965c57878d55e7f5705ca5648604db0 (patch)
tree6603257aeeaa18d94c641403436136dc7e7d0237 /addressbook
parent4441d197dcd3ebd6f901778e0d9098e4e4d96f6e (diff)
downloadgsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar.gz
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar.bz2
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar.lz
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar.xz
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.tar.zst
gsoc2013-evolution-d99fd19df965c57878d55e7f5705ca5648604db0.zip
Go until inend, not inend+1. Changed the continuation and retry logic to
2000-11-11 Not Zed <NotZed@HelixCode.com> * camel-mime-parser.c: (folder_scan_content): Go until inend, not inend+1. Changed the continuation and retry logic to be simpler and more robust. If we can't find a marker within the atleast we need, just set it to 1, and try again, rather than just going to the next smaller limit (boundary check checks the length anyway). (header_append): streamline the empty line case. And strip trailing \r's if there are any (\n's already stripped). (folder_scan_header): Reordered and cleaned up a lot. Check for continuation only once, and compress lwsp then. Assume the header buffer already has end of line's stripped, and simplify some things: Only check for end of headers once and easier. Dont check to remove end of line character Dont bother testing inptr-start if we get a boundary match - it is always zero. (folder_scan_header): Removed the unused part variable, and a few pointless assignments. (folder_scan_header): Change the end limit to be 1 higher, to make sure we get all content. (folder_scan_content): And here too. (folder_scan_header): Killed a warning. (folder_push_part): Removed a bad comment. Actually boundarylenfinal can be zero for a new message not in a multipart. So we fix that here. svn path=/trunk/; revision=6542
Diffstat (limited to 'addressbook')
0 files changed, 0 insertions, 0 deletions