cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Using fopensocket instead of direct socket call

From: Gokhan Sengun <gokhansengun_at_gmail.com>
Date: Fri, 2 Dec 2011 00:29:12 +0200

Hi,

in function ftp_state_use_port(), direct call to socket() is used. However
upon closing the socket fclosesocket function is used. It looks to me (if
not missing something), it should check whether fopensocket is set and call
this function if happens to be so.

I would appreciate if somebody having git environment could verify and push
this.

Thanks.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET