cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 7.10.3-pre6

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 Jan 2003 17:18:57 +0100 (MET)

On Fri, 10 Jan 2003, Steve Oliphant wrote:

> I compiled curl 7.10.3-pre6 on a linux Redhat 7.3 system and when I run the
> tests, test 105 hangs.

Urk. *slap forhead*

Apply this little patch and it'll run fine again...

diff -u -r1.251 url.c
--- url.c 9 Jan 2003 16:47:09 -0000 1.251
+++ url.c 10 Jan 2003 16:18:33 -0000
@@ -2491,6 +2491,9 @@
           /* no name given, get the password only */
           sscanf(userpass, ":%127[^@]", data->state.passwd);

+ /* we have set the password */
+ data->state.passwdgiven = TRUE;
+
         if(data->state.user[0]) {
           char *newname=curl_unescape(data->state.user, 0);
           if(strlen(newname) < sizeof(data->state.user)) {

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-10