diff options
author | Gokhan Sengun <gokhansengun@gmail.com> | 2012-06-25 02:06:50 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-08-16 23:20:12 +0200 |
commit | 82b0aebef36953604aa41b13669d48b2dc8983b8 (patch) | |
tree | c169344143bd1475026401c7ba2c32a73f60369c /lib/curl_rand.c | |
parent | 23ef5e4ba22386ccc43f99db1d0f4106dc603e80 (diff) |
ftp: active conn, place calling sockopt callback at the end of function
Commit b91d29a28e170c16d65d956db79f2cd3a82372d2 introduces a bug and breaks Curl_closesocket function. sock_accepted flag for the second socket should be tagged as TRUE before the sockopt callback is called because in case the callback returns an error, Curl_closesocket function is going to call the - fclosesocket - callback for the accept()ed socket
Diffstat (limited to 'lib/curl_rand.c')
0 files changed, 0 insertions, 0 deletions