comparison src/protocols/msn/slpcall.c @ 9259:f5f7482678d2

[gaim-migrate @ 10058] Patch by Felipe Contreras. He says, "This patch creates a different callback for the end of a slpcall, so there is no mistake with the current callback for a sucessful slpcall ... when we reach the end of a slpcall the slpcall data has been destroyed, the got_userdisplay cb should be called only as the sucessfull slpcall callback." Essentially, it fixes the corrupt buddy icon checksum issue, though it needs another patch that has to be reworked first, if I understood right. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 10 Jun 2004 20:57:52 +0000
parents ab6636c5a136
children 3a701f15e45d
comparison
equal deleted inserted replaced
9258:43323228a3da 9259:f5f7482678d2
120 slpmsg->wasted = TRUE; 120 slpmsg->wasted = TRUE;
121 #endif 121 #endif
122 } 122 }
123 } 123 }
124 124
125 if (slpcall->cb != NULL) 125 if (slpcall->end_cb != NULL)
126 slpcall->cb(slpcall, NULL, -1); 126 slpcall->end_cb(slpcall);
127 127
128 g_free(slpcall); 128 g_free(slpcall);
129 } 129 }
130 130
131 void 131 void