Mercurial > pidgin
comparison libpurple/protocols/msn/slp.c @ 28796:5d8867f11f0d
If we're sending a file, and libpurple tells us to cancel it, then just set
the slpcall->wasted flag. Upper level code should take care of destroying
it without getting confused.
Refs #6523.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 14 Dec 2009 05:42:16 +0000 |
parents | 650ba1c84049 |
children | 139aa186e8cc |
comparison
equal
deleted
inserted
replaced
28795:bffe098efca2 | 28796:5d8867f11f0d |
---|---|
126 content); | 126 content); |
127 | 127 |
128 g_free(content); | 128 g_free(content); |
129 msn_slplink_send_queued_slpmsgs(slpcall->slplink); | 129 msn_slplink_send_queued_slpmsgs(slpcall->slplink); |
130 | 130 |
131 msn_slpcall_destroy(slpcall); | 131 if (purple_xfer_get_type(xfer) == PURPLE_XFER_SEND) |
132 slpcall->wasted = TRUE; | |
133 else | |
134 msn_slpcall_destroy(slpcall); | |
132 } | 135 } |
133 } | 136 } |
134 } | 137 } |
135 | 138 |
136 gssize | 139 gssize |