| 276 msn_slplink_send_msgpart(slpmsg->slplink, slpmsg); |
276 msn_slplink_send_msgpart(slpmsg->slplink, slpmsg); |
| 277 } |
277 } |
| 278 else |
278 else |
| 279 { |
279 { |
| 280 /* The whole message has been sent */ |
280 /* The whole message has been sent */ |
| 281 |
|
| 282 if (slpmsg->flags == 0x20 || slpmsg->flags == 0x1000030) |
281 if (slpmsg->flags == 0x20 || slpmsg->flags == 0x1000030) |
| 283 { |
282 { |
| 284 if ((slpmsg->slpcall != NULL) && |
283 if (slpmsg->slpcall != NULL) |
| 285 (slpmsg->slpcall->cb != NULL)) |
|
| 286 { |
284 { |
| 287 slpmsg->slpcall->cb(slpmsg->slpcall, NULL, 0); |
285 if (slpmsg->slpcall->cb) |
| |
286 slpmsg->slpcall->cb(slpmsg->slpcall, |
| |
287 NULL, 0); |
| |
288 |
| |
289 msn_slp_call_destroy(slpmsg->slpcall); |
| 288 } |
290 } |
| 289 } |
291 } |
| 290 } |
292 } |
| 291 |
293 |
| 292 slpmsg->msgs = g_list_remove(slpmsg->msgs, msg); |
294 slpmsg->msgs = g_list_remove(slpmsg->msgs, msg); |