CVS: is/lib httpclient.c,1.4,1.5

Chen Yang <[email protected]> Wed, 12 Mar 2003 05:19:14 -0800
Newsgroups gmane.comp.file-systems.intermezzo.cvs
Message-ID <[email protected]>
Update of /cvsroot/intermezzo/is/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv14547

Modified Files:
	httpclient.c 
Log Message:
Bug fix for curl session cleanup

Index: httpclient.c
===================================================================
RCS file: /cvsroot/intermezzo/is/lib/httpclient.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -U2 -r1.4 -r1.5
--- httpclient.c	26 Feb 2003 06:14:03 -0000	1.4
+++ httpclient.c	12 Mar 2003 13:19:11 -0000	1.5
@@ -205,4 +205,5 @@
                 g_free(range);
 
+        client->_handle=NULL;
         curl_easy_cleanup(handle);
         return rc;
@@ -271,4 +272,5 @@
                 g_free(range);
 
+        client->_handle=NULL;
         curl_easy_cleanup(handle);
         return rc;



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en