Changeset 27a057c
- Timestamp:
- 2015-05-31T02:40:05Z (10 years ago)
- Parents:
- 3c28bd4
- git-author:
- dequis <dx@…> (15-05-15 04:28:52)
- git-committer:
- dequis <dx@…> (31-05-15 02:40:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/ns.c
r3c28bd4 r27a057c 96 96 struct msn_data *md = ic->proto_data; 97 97 98 if (md->fd >= 0) {99 closesocket(md->fd);100 }101 102 98 if (md->is_http) { 103 99 md->gw = msn_gw_new(ic); … … 105 101 msn_ns_connected(md, 0, NULL, B_EV_IO_READ); 106 102 } else { 103 if (md->fd >= 0) { 104 closesocket(md->fd); 105 } 106 107 if (md->ssl) { 108 ssl_disconnect(md->ssl); 109 b_event_remove(md->inpa); 110 } 111 107 112 md->ssl = ssl_connect((char *) host, port, TRUE, msn_ns_connected, md); 108 113 md->fd = md->ssl ? ssl_getfd(md->ssl) : -1;
Note: See TracChangeset
for help on using the changeset viewer.