cURL / Mailing Lists / curl-library / Single Mail

curl-library

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