Small bugfix and code reversion.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22931 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-05-15 11:23:59 +00:00
parent c8cc444eb3
commit 93f406d7fd
3 changed files with 645 additions and 645 deletions

View file

@ -477,6 +477,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
NSDictionary *dict = [not userInfo];
NSData *d;
NSRange r;
BOOL complete;
RETAIN(self);
@ -502,7 +503,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
[sock closeFile];
DESTROY(sock);
}
else if ([parser parse: d] == NO)
else if ([parser parse: d] == NO && (complete = [parser isComplete]) == NO)
{
if (debug == YES)
{
@ -513,8 +514,6 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
}
else
{
BOOL complete = [parser isComplete];
if (complete == NO && [parser isInHeaders] == NO)
{
GSMimeHeader *info;