diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-04-04 23:41:35 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-04-04 23:41:35 +0000 |
commit | c321b9f7046e96aa269635d9deafa357a118e88c (patch) | |
tree | 7f89ef27f77718bce8d69afa9e9fd6daf82d9d56 /lib/http_negotiate.c | |
parent | 7e74349b86386f0fb33e7323f70b10300d64eaf3 (diff) | |
download | curl-c321b9f7046e96aa269635d9deafa357a118e88c.tar.gz |
Fixes some more out of memory handling bugs.
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r-- | lib/http_negotiate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index bdfeefa0a..ac93413cf 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -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 = |