projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba01198
)
Compiler warning fix
author
Yang Tse
<yangsita@gmail.com>
Mon, 25 Sep 2006 00:16:23 +0000
(
00:16
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 25 Sep 2006 00:16:23 +0000
(
00:16
+0000)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
0a19c12
..
244994c
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-430,9
+430,9
@@
CURLMcode curl_multi_add_handle(CURLM *multi_handle,
by default. */
CURLcode res = Curl_ch_connc(easy_handle, multi->connc,
multi->connc->num*4);
- if(res)
+ if(res
!= CURLE_OK
)
/* TODO: we need to do some cleaning up here! */
- return
res
;
+ return
CURLM_OUT_OF_MEMORY
;
}
/* increase the alive-counter */