Martin Storsjo [Thu, 26 Jan 2012 23:50:35 +0000 (00:50 +0100)]
Explicitly link to the nettle/gcrypt libraries
When support for nettle was added in
64f328c787ab, I overlooked
the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS
if the check succeeded, if a custom success code block was present.
(The previous version of the check had an empty block for
successful checks, adding the lib to LIBS implicitly.)
Therefore, explicitly add either nettle or gcrypt to LIBS, after
deciding which one to use. Even if they can be linked in
transitively, it is safer to actually link explicitly to them.
This fixes building with gnutls with linkers that don't allow
linking transitively, such as for windows.
Pierre Ynard [Mon, 23 Jan 2012 09:45:24 +0000 (10:45 +0100)]
more resilient connection times among IP addresses
When connecting to a domain with multiple IP addresses, allow different,
decreasing connection timeout values. This should guarantee some
connections attempts with sufficiently long timeouts, while still
providing fallback.
Pierre Ynard [Mon, 23 Jan 2012 09:44:53 +0000 (10:44 +0100)]
remove write-only variable
Pierre Joye [Thu, 26 Jan 2012 15:39:53 +0000 (16:39 +0100)]
Merge branch 'master' of github.com:bagder/curl
Pierre Joye [Thu, 26 Jan 2012 15:39:26 +0000 (16:39 +0100)]
- fix IPV6 and IDN options
Yang Tse [Wed, 25 Jan 2012 22:34:38 +0000 (23:34 +0100)]
TODO-RELEASE: added item #308
Daniel Stenberg [Wed, 25 Jan 2012 12:52:38 +0000 (13:52 +0100)]
THANKS: imported contributors from 7.24.0 RELEASE-NOTES
Yang Tse [Wed, 25 Jan 2012 10:50:44 +0000 (11:50 +0100)]
test harness: update stunnel.pem Diffie-Hellman parameters from 512 to 1024 bit
Yang Tse [Wed, 25 Jan 2012 10:27:39 +0000 (11:27 +0100)]
version: start working on 7.24.1-DEV
Dan Fandrich [Wed, 25 Jan 2012 05:31:57 +0000 (21:31 -0800)]
curl_easy_setopt.3: Fixed SEEKDATA & CLOSESOCKETDATA descriptions
Daniel Stenberg [Tue, 24 Jan 2012 07:37:40 +0000 (08:37 +0100)]
RELEASE-NOTES: synced with
70f71bb99f7ed9
Synced and prepared for 7.24.0 release. Two security problems, one bug fix,
two more contributors.
Daniel Stenberg [Mon, 23 Jan 2012 22:53:06 +0000 (23:53 +0100)]
gnutls: enforced use of SSLv3
With advice from Nikos Mavrogiannopoulos, changed the priority string to
add "actual priorities" and favour ARCFOUR. This makes libcurl work
better when enforcing SSLv3 with GnuTLS. Both in the sense that the
libmicrohttpd test is now working again but also that it mitigates a
weakness in the older SSL/TLS protocols.
Bug: http://curl.haxx.se/mail/lib-2012-01/0225.html
Reported by: Christian Grothoff
Daniel Stenberg [Wed, 11 Jan 2012 14:46:19 +0000 (15:46 +0100)]
tests: test CRLF in URLs
Related to the security vulnerability: CVE-2012-0036
Bug: http://curl.haxx.se/docs/adv_20120124.html
Daniel Stenberg [Fri, 23 Dec 2011 12:24:16 +0000 (13:24 +0100)]
URL sanitize: reject URLs containing bad data
Protocols (IMAP, POP3 and SMTP) that use the path part of a URL in a
decoded manner now use the new Curl_urldecode() function to reject URLs
with embedded control codes (anything that is or decodes to a byte value
less than 32).
URLs containing such codes could easily otherwise be used to do harm and
allow users to do unintended actions with otherwise innocent tools and
applications. Like for example using a URL like
pop3://pop3.example.com/1%0d%0aDELE%201 when the app wants a URL to get
a mail and instead this would delete one.
This flaw is considered a security vulnerability: CVE-2012-0036
Security advisory at: http://curl.haxx.se/docs/adv_20120124.html
Reported by: Dan Fandrich
Daniel Stenberg [Thu, 19 Jan 2012 09:38:14 +0000 (10:38 +0100)]
OpenSSL: don't disable security work-around
OpenSSL added a work-around for a SSL 3.0/TLS 1.0 CBC vulnerability
(http://www.openssl.org/~bodo/tls-cbc.txt). In 0.9.6e they added a bit
to SSL_OP_ALL that _disables_ that work-around despite the fact that
SSL_OP_ALL is documented to do "rather harmless" workarounds.
The libcurl code uses the SSL_OP_ALL define and thus logically always
disables the OpenSSL fix.
In order to keep the secure work-around workding, the
SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS bit must not be set and this change
makes sure of this.
Reported by: product-security at Apple
Daniel Stenberg [Sun, 22 Jan 2012 22:44:51 +0000 (23:44 +0100)]
RELEASE-NOTES: synced with
6e2fd2c9ea
3 more bugfixes, 3 more contributors
Daniel Stenberg [Sat, 21 Jan 2012 23:00:55 +0000 (00:00 +0100)]
CURLOPT_ACCEPTTIMEOUT_MS: spellfix
Dan Fandrich [Sat, 21 Jan 2012 06:44:47 +0000 (22:44 -0800)]
examples: updated README with two new example programs
Daniel Stenberg [Fri, 20 Jan 2012 22:32:43 +0000 (23:32 +0100)]
URL parse: user name with ipv6 numerical address
Using a URL with embedded user name and password didn't work if the host
was given as a numerical IPv6 string, like ftp://user:password@[::1]/
Reported by: Brandon Wang
Bug: http://curl.haxx.se/mail/archive-2012-01/0047.html
Yang Tse [Thu, 19 Jan 2012 23:11:15 +0000 (00:11 +0100)]
telnet.c: fix OOM triggered segfault
Yang Tse [Thu, 19 Jan 2012 21:54:57 +0000 (22:54 +0100)]
testtrace.c: fix compiler warning
Yang Tse [Thu, 19 Jan 2012 21:28:04 +0000 (22:28 +0100)]
OpenSSL: follow-up for commit
a20daf90e3
avoid checking preprocessor definition official value
Pierre Joye [Thu, 19 Jan 2012 13:08:24 +0000 (14:08 +0100)]
- s, use, enable, for options name, avoiding conflicts with the names used in the makefile
Daniel Stenberg [Thu, 19 Jan 2012 12:39:25 +0000 (13:39 +0100)]
curl.1: improve --stderr wording
As is pointed out in this bug report, there can indeed be situation
where --stderr has a point even when the "real" stderr can be
redirected. Remove the superfluous and wrong comment.
bug: http://curl.haxx.se/bug/view.cgi?id=3476020
Daniel Stenberg [Wed, 18 Jan 2012 22:31:39 +0000 (23:31 +0100)]
KNOWN_BUGS: can't receive zero bytes file properly
http://curl.haxx.se/bug/view.cgi?id=3438362
Yang Tse [Wed, 18 Jan 2012 22:39:30 +0000 (23:39 +0100)]
ssl session caching: fix compiler warnings
Daniel Stenberg [Wed, 18 Jan 2012 22:19:37 +0000 (23:19 +0100)]
polarssl: show cipher suite name correctly with 1.1.0
Apparently ssl_get_ciphersuite() is needed to get the name of the used
cipher suite.
Daniel Stenberg [Wed, 18 Jan 2012 22:19:01 +0000 (23:19 +0100)]
polarssl: show error code correctly
The value was turned negative when it shouldn't have been
Daniel Stenberg [Wed, 18 Jan 2012 22:17:54 +0000 (23:17 +0100)]
polarssl: havege_rand is not present in version 1.1.0
... it is now named havege_random!
Reported by: Robert Schumann
Bug: http://curl.haxx.se/mail/lib-2012-01/0178.html
Daniel Stenberg [Wed, 18 Jan 2012 21:33:45 +0000 (22:33 +0100)]
RELEASE-NOTES: synced with
5d70a61b94604
5 more bug fixes, 1 more contributor
Colin Hogben [Wed, 18 Jan 2012 21:19:57 +0000 (22:19 +0100)]
Add two tests for telnet: URLs
Add simple telnet tests which (ab)use the http server.
The second test checks for an input file handling bug.
Colin Hogben [Wed, 4 Jan 2012 11:24:49 +0000 (11:24 +0000)]
Remove bogus optimisation of telnet upload.
Remove wrongly implemented optimisation of telnet upload, apparently
intended to allow the library to avoid manually polling for input.
Colin Hogben [Wed, 4 Jan 2012 11:21:38 +0000 (11:21 +0000)]
Use correct file descriptor for telnet upload.
Fix a bug where input was read from stdin even when a different FILE *
had been configured via CURLOPT_READDATA
Yang Tse [Wed, 18 Jan 2012 15:06:29 +0000 (16:06 +0100)]
OpenLDAP: fix LDAP connection phase memory leak
bug: http://curl.haxx.se/bug/view.cgi?id=3474308
Johannes Bauer [Wed, 18 Jan 2012 12:39:12 +0000 (13:39 +0100)]
OpenSSL: fix PKCS#12 certificate parsing related memory leak
Leak triggered when CURLOPT_SSLCERTTYPE and CURLOPT_SSLKEYTYPE set to P12
and both CURLOPT_SSLCERT and CURLOPT_SSLKEY point to the same PKCS#12 file.
Yang Tse [Wed, 18 Jan 2012 03:33:49 +0000 (04:33 +0100)]
OpenSSL: SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG option is no longer enabled
SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG option enabling allowed successfull
interoperability with web server Netscape Enterprise Server 2.0.1 released
back in 1996 more than 15 years ago.
Due to CVE-2010-4180, option SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG has
become ineffective as of OpenSSL 0.9.8q and 1.0.0c. In order to mitigate
CVE-2010-4180 when using previous OpenSSL versions we no longer enable
this option regardless of OpenSSL version and SSL_OP_ALL definition.
Yang Tse [Tue, 17 Jan 2012 20:33:17 +0000 (21:33 +0100)]
tests: enable time tracing on tests 500, 573 and 585
Yang Tse [Tue, 17 Jan 2012 20:32:05 +0000 (21:32 +0100)]
tests: testtrace.[ch] provides debug callback for libtest usage
Allows tests from the libtest subdir to generate log traces
similar to those of curl with --tracetime and --trace-ascii
options but with output going to stderr.
Yang Tse [Tue, 17 Jan 2012 11:28:28 +0000 (12:28 +0100)]
sws.c: fix proxy mode secondary connection monitoring condition
Yang Tse [Mon, 16 Jan 2012 20:14:05 +0000 (21:14 +0100)]
add LF termination to infof() trace string
Yang Tse [Mon, 16 Jan 2012 18:00:57 +0000 (19:00 +0100)]
sws.c: improve proxy mode torture testing support - followup to
18c6c8a5
Daniel Stenberg [Mon, 16 Jan 2012 13:45:00 +0000 (14:45 +0100)]
url2file: new simple example
Just showing how to download the contents of a given URL into a local
file.
Based on a suggestion and example code by Georg Potthast
Daniel Stenberg [Mon, 16 Jan 2012 12:47:51 +0000 (13:47 +0100)]
imap.c: a dead simple imap example
Just to show that IMAP is used just like other protocols
Yang Tse [Mon, 16 Jan 2012 11:30:03 +0000 (12:30 +0100)]
sws.c: improve proxy mode torture testing support - followup to
c731fc58
Yang Tse [Sun, 15 Jan 2012 19:13:32 +0000 (20:13 +0100)]
sws.c: improve proxy mode torture testing support - followup to
d4bf87dc
Yang Tse [Sun, 15 Jan 2012 18:21:55 +0000 (19:21 +0100)]
Curl_proxyCONNECT() trace known bug #39
Daniel Stenberg [Sat, 14 Jan 2012 15:34:59 +0000 (16:34 +0100)]
test: verify HTTP response code 308
This newly speced HTTP status code already works as intended in the new
spec:
http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-02.html
Test 1325 is added to verify that the method is kept after the redirect
Yang Tse [Fri, 13 Jan 2012 12:34:43 +0000 (13:34 +0100)]
http_negotiate_sspi.c: fix compiler warning
Yang Tse [Fri, 13 Jan 2012 11:57:09 +0000 (12:57 +0100)]
ssh.c: fix compiler warning
Yang Tse [Fri, 13 Jan 2012 04:13:48 +0000 (05:13 +0100)]
sws.c: improve proxy mode torture testing support
Daniel Stenberg [Thu, 12 Jan 2012 22:30:19 +0000 (23:30 +0100)]
RELEASE-NOTES: synced with
9f20379fe4
5 bug fixes, 3 more contributors
Daniel Stenberg [Thu, 12 Jan 2012 22:13:19 +0000 (23:13 +0100)]
hostip: avoid getaddrinfo when c-ares is used
Some functions using getaddrinfo and gethostbyname were still
mistakingly being used/linked even if c-ares was selected as resolver
backend.
Reported by: Arthur Murray
Bug: http://curl.haxx.se/mail/lib-2012-01/0160.html
Yang Tse [Mon, 9 Jan 2012 21:49:28 +0000 (22:49 +0100)]
sws.c: replace sleep() usage with wait_ms()
gsengun [Sat, 7 Jan 2012 21:13:57 +0000 (23:13 +0200)]
FTP: CURLE_PARTIAL_FILE should not cause control connection to be closed
Test 161 updated accordingly
Yang Tse [Sun, 8 Jan 2012 18:28:46 +0000 (19:28 +0100)]
sws.c: some compiler warning fixes
Yang Tse [Sun, 8 Jan 2012 01:32:51 +0000 (02:32 +0100)]
lib/setup.h: portable symbolic names for Winsock shutdown() mode flags
Yang Tse [Fri, 6 Jan 2012 00:52:45 +0000 (01:52 +0100)]
sws.c:
812fa73057 follow-up
Yang Tse [Thu, 5 Jan 2012 19:51:23 +0000 (20:51 +0100)]
sws.c: some IPv6 proxy mode peparatory adjustments
Daniel Stenberg [Thu, 5 Jan 2012 18:57:39 +0000 (19:57 +0100)]
curl.h: provide backwards compatible symbols
In commit
c834213ad52 we re-used some obsolete error codes, and here are
two defines that makes sure existing source codes that happen to use any
of these deprecated ones will still compile.
As usual, define CURL_NO_OLDIES to avoid getting these "precaution
defines".
Daniel Stenberg [Tue, 3 Jan 2012 15:22:50 +0000 (16:22 +0100)]
win32-threaded-resolver: stop using a dummy socket
Previously the code would create a dummy socket while resolving just to
have curl_multi_fdset() return something but the non-win32 version
doesn't do it this way and the creation and use of a socket that isn't
made with the common create-socket callback can be confusing to apps
using the multi_socket API etc.
This change removes the dummy socket and thus will cause
curl_multi_fdset() to return with maxfd == -1 more often.
Peter Sylvester [Wed, 4 Jan 2012 22:02:36 +0000 (23:02 +0100)]
OpenSSL: remove reference to openssl internal struct
With this change, curl compiles with the new OPENSSL_NO_SSL_INTERN
cflag. This flag might become the default in some distant future.
Yang Tse [Wed, 4 Jan 2012 18:34:52 +0000 (19:34 +0100)]
test1320 test1321: avoid User-Agent comparison
Yang Tse [Wed, 4 Jan 2012 18:28:22 +0000 (19:28 +0100)]
httpserver.pl: reorder sws command line options
make 'pidfile' and 'logfile' options appear first on command line in order
to ensure that processing of other options which write to logfile do this
to intended file and not the default one.
Yang Tse [Wed, 4 Jan 2012 18:14:19 +0000 (19:14 +0100)]
sws.c: fix proxy mode segfault
Yang Tse [Mon, 2 Jan 2012 18:31:02 +0000 (19:31 +0100)]
tool_formparse.c: fix compiler warning: enumerated type mixed with another type
Yang Tse [Mon, 2 Jan 2012 18:18:53 +0000 (19:18 +0100)]
krb5.c: fix compiler warning: variable set but not used
Daniel Stenberg [Wed, 4 Jan 2012 15:33:33 +0000 (16:33 +0100)]
KNOWN_BUGS: #77 CURLOPT_FORBID_REUSE kills NTLM
Steve Holme [Tue, 3 Jan 2012 23:17:08 +0000 (23:17 +0000)]
Fixed use of CURLUSESSL_TRY for POP3 and IMAP based connections.
Fixed a problem in POP3 and IMAP where a connection would fail when
CURLUSESSL_TRY was specified for a server that didn't support
SSL/TLS connections rather than continuing.
Steve Holme [Tue, 3 Jan 2012 23:01:51 +0000 (23:01 +0000)]
Fixed incorrect error code being returned in STARTTLS
The STARTTLS response code in SMTP, POP3 and IMAP would return
CURLE_LOGIN_DENIED rather than CURLE_USE_SSL_FAILED when SSL/TLS
was not available on the server.
Reported by: Gokhan Sengun
Bug: http://curl.haxx.se/mail/lib-2012-01/0018.html
Daniel Stenberg [Tue, 3 Jan 2012 22:39:22 +0000 (23:39 +0100)]
curl_easy_setopt: refer to the most recent URI RFC
Daniel Stenberg [Tue, 3 Jan 2012 22:33:52 +0000 (23:33 +0100)]
RELEASE-NOTES: synced with
2f4a487a68
Two bugfixes, two more contributors
Daniel Stenberg [Tue, 3 Jan 2012 15:12:58 +0000 (16:12 +0100)]
tests: test IMAP, POP3 and SMTP over HTTP proxy tunnel
Daniel Stenberg [Sat, 17 Dec 2011 22:47:22 +0000 (23:47 +0100)]
test proxy supports CONNECT
There's a new 'http-proxy' server for tests that runs on a separate port
and lets clients do HTTP CONNECT to other ports on the same host to
allow us to test HTTP "tunneling" properly.
Test cases now have a <proxy> section in <verify> to check that the
proxy protocol part matches correctly.
Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316
was added.
Daniel Stenberg [Mon, 2 Jan 2012 14:59:59 +0000 (15:59 +0100)]
curl_easy_strerror.3: minor synopsis edit of the look
Yang Tse [Mon, 2 Jan 2012 12:44:56 +0000 (13:44 +0100)]
hostip.c: fix potential write past the end of string buffer
Yang Tse [Mon, 2 Jan 2012 12:41:09 +0000 (13:41 +0100)]
hostip.c: fix Curl_loadhostpairs() OOM handling
Yang Tse [Mon, 2 Jan 2012 12:40:12 +0000 (13:40 +0100)]
runtests.pl: on test failure, don't show trace log files of other tests
Daniel Stenberg [Sun, 1 Jan 2012 21:36:32 +0000 (22:36 +0100)]
Curl_input_negotiate: use the correct buffer for input
Unfortunately we have no test cases for this and I have no SSPI build or
server to verify this with. The change seems simple enough though.
Bug: http://curl.haxx.se/bug/view.cgi?id=3466497
Reported by: Patrice Guerin
Daniel Stenberg [Sun, 1 Jan 2012 14:58:53 +0000 (15:58 +0100)]
runtests: put trace outputs in log/trace[num] for all tests
Daniel Stenberg [Sat, 31 Dec 2011 22:53:52 +0000 (23:53 +0100)]
just a stupid typo
Daniel Stenberg [Tue, 27 Dec 2011 21:58:03 +0000 (22:58 +0100)]
SFTP dir: increase buffer size counter
When the buffer gets realloced to hold the file name in the
SSH_SFTP_READDIR_LINK state, the counter was not bumped accordingly.
Reported by: Armel Asselin
Patch by: Armel Asselin
Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
Daniel Stenberg [Sat, 31 Dec 2011 10:22:26 +0000 (11:22 +0100)]
RELEASE-NOTES: synced with
81ebdd9e287
6 more bugfixes, 3 more contributors
Daniel Stenberg [Fri, 30 Dec 2011 21:46:57 +0000 (22:46 +0100)]
create_hostcache_id: use the key lower cased
... to make sure the DNS cache is properly case insensitive
Daniel Stenberg [Sat, 31 Dec 2011 09:39:54 +0000 (10:39 +0100)]
changed case: use new host name for subsequent HTTP requests
When a HTTP connection is re-used for a subsequent request without
proxy, it would always re-use the Host: header of the first request. As
host names are case insensitive it would make curl send another host
name case that what the particular request used.
Now it will instead always use the most recent host name to always use
the desired casing.
Added test case 1318 to verify.
Bug: http://curl.haxx.se/mail/lib-2011-12/0314.html
Reported by: Alex Vinnik
Daniel Stenberg [Sat, 31 Dec 2011 09:28:10 +0000 (10:28 +0100)]
CURLOPT_RESOLVE: avoid adding already present host names
The load host names to DNS cache function was moved to hostip.c and it
now makes sure to not add host names that already are present in the
cache. It would previously lead to memory leaks when for example using
the --resolve and multiple URLs on the command line.
Dan Fandrich [Sat, 31 Dec 2011 08:49:34 +0000 (00:49 -0800)]
runtests.pl: Use logmsg more consistently
Alessandro Ghedini [Wed, 28 Dec 2011 15:33:17 +0000 (16:33 +0100)]
examples: update README, Makefile.inc and gitignore with pop3s examples
Alessandro Ghedini [Wed, 28 Dec 2011 14:01:05 +0000 (15:01 +0100)]
examples: add a couple of simple pop3s examples
These examples show how to fetch a single message (RETR command) and how to
list all the messages in a given mailbox (LIST command), with authentication
via SSL.
They were both based on the https.c example.
Yang Tse [Fri, 30 Dec 2011 02:53:25 +0000 (03:53 +0100)]
removed execute file permission
Yang Tse [Fri, 30 Dec 2011 02:36:18 +0000 (03:36 +0100)]
removed trailing whitespace
Yang Tse [Thu, 29 Dec 2011 22:40:06 +0000 (23:40 +0100)]
ftpserver.pl: arbitrary application data splitting among TCP packets [II]
Take in account that 'pingpong' server commands may arrive splitted among
several sockfilt 'DATA' PDU's.
Yang Tse [Wed, 28 Dec 2011 22:04:23 +0000 (23:04 +0100)]
ftpserver.pl: arbitrary application data splitting among TCP packets [I]
Initial step in order to allow our pingpong server to better support arbitrary
application data splitting among TCP packets. This first commit only addresses
reasembly of data that sockfilter processes reads from soockets and pingpong
server later reads from sockfilters stdout.
Yang Tse [Tue, 27 Dec 2011 12:23:47 +0000 (13:23 +0100)]
testcurl.pl:
82c344a3 follow-up
Yang Tse [Mon, 26 Dec 2011 16:09:44 +0000 (17:09 +0100)]
testcurl.pl: log ACLOCAL_FLAGS
Yang Tse [Mon, 26 Dec 2011 16:01:04 +0000 (17:01 +0100)]
testcurl.pl: third party m4 warnings filtering adjustment
Make testcurl.pl ignore messages pertaining to third party m4 files we don't
care nor use on a file basis policy while retaining all other warnings.
This closes temporary commit
e71e226f
Kamil Dudka [Sun, 25 Dec 2011 21:37:24 +0000 (22:37 +0100)]
transfer: avoid unnecessary timeout event when waiting for 100-continue
The commit 9dd85bc unintentionally changed the way we compute the time
spent waiting for 100-continue. In particular, when using a SSL client
certificate, the time spent by SSL handshake was included and could
cause the CURL_TIMEOUT_EXPECT_100 timeout to be mistakenly fired up.
Bug: https://bugzilla.redhat.com/767490
Reported by: Mamoru Tasaka
Yang Tse [Sun, 25 Dec 2011 11:11:51 +0000 (12:11 +0100)]
transfer.c: move a logging statement placement
Yang Tse [Sun, 25 Dec 2011 10:35:45 +0000 (11:35 +0100)]
hash.c: fix OOM triggered segfault
Daniel Stenberg [Fri, 23 Dec 2011 23:12:00 +0000 (00:12 +0100)]
ftp_do_more: don't return success until all is done
ftp_do_more() returns after accepting the server connect however it
needs to fall through and set "*complete" to TRUE before exit from the
function.
Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
Reported by: Gokhan Sengun
Daniel Stenberg [Fri, 23 Dec 2011 23:09:41 +0000 (00:09 +0100)]
Curl_do_more: fix typo logic
In the recent do_more fix the new logic was mistakenly checking the
pointer instead of what it points to.
Reported by: Gokhan Sengun
Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html