Changeset b994034 for protocols/msn/ns.c
- Timestamp:
- 2015-05-31T02:40:05Z (10 years ago)
- Children:
- 3c28bd4
- Parents:
- 3fb7139
- git-author:
- dequis <dx@…> (15-05-15 04:04:28)
- git-committer:
- dequis <dx@…> (31-05-15 02:40:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/ns.c
r3fb7139 rb994034 150 150 if (msn_ns_write_cmd(ic, "CNT", "CON", "<connect><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>")) { 151 151 if (!md->is_http) { 152 md->inpa = b_input_add(md->fd, B_EV_IO_READ, msn_ns_callback, md);152 md->inpa = b_input_add(md->fd, B_EV_IO_READ, msn_ns_callback, ic); 153 153 } 154 154 imcb_log(ic, "Connected to server, waiting for reply"); … … 182 182 static gboolean msn_ns_callback(gpointer data, gint source, b_input_condition cond) 183 183 { 184 struct msn_data *md= data;185 struct im_connection *ic = md->ic;184 struct im_connection *ic = data; 185 struct msn_data *md; 186 186 char *bytes; 187 187 int st; 188 189 if (g_slist_find(msn_connections, ic) == NULL) { 190 return FALSE; 191 } 192 193 md = ic->proto_data; 188 194 189 195 if (md->is_http) {
Note: See TracChangeset
for help on using the changeset viewer.