Fixes some more out of memory handling bugs.

This commit is contained in:
Dan Fandrich
2007-04-04 23:41:35 +00:00
parent 7e74349b86
commit c321b9f704
4 changed files with 9 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ CURLcode Curl_output_negotiate(struct connectdata *conn)
neg_ctx->output_token.length,
&encoded);
if (len < 0)
if (len == 0)
return CURLE_OUT_OF_MEMORY;
conn->allocptr.userpwd =