I suppose this looks ok... and is probably about the best we can do without rewriting that hunk of code to tokenise stuff properly. Jeff On Thu, 2004-12-23 at 15:24 +0800, Michael Zucchi wrote: > > Guys, > > Knew this was going to get messy, the fix for the groupwise server bug > has caused other problems. > > This messy bit of code tries to do some higher-level structure parsing > of the data, and works out if it is expecting more data when it gets > nothing back, or it is just the end of that untagged response. Its > not totally full-proof, since you need to do more syntax checking, but > it should cover more cases, I think. > > Unable to test it however 'cause I couldn't get any of my servers to > send literal responses for folder names. > > Patch against 2.8 similar against head. > > Michael > -- Jeffrey Stedfast Evolution Hacker - Novell, Inc. fejj ximian com - www.novell.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature