Mercurial > pidgin.yaz
diff libpurple/ft.c @ 28005:fd4415c0595f
Set xfer->status before emitting signals in purple_xfer_set_status.
This was noticed by kenshin in #pidgin and doesn't interfere with
the autoaccept plugin (that signal is emitted in purple_xfer_request).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 23 Jul 2009 02:31:52 +0000 |
parents | 740760605cc1 |
children | ed3184cc557d |
line wrap: on
line diff
--- a/libpurple/ft.c Wed Jul 22 21:17:50 2009 +0000 +++ b/libpurple/ft.c Thu Jul 23 02:31:52 2009 +0000 @@ -132,6 +132,8 @@ { g_return_if_fail(xfer != NULL); + xfer->status = status; + if(xfer->type == PURPLE_XFER_SEND) { switch(status) { case PURPLE_XFER_STATUS_ACCEPTED: @@ -169,8 +171,6 @@ break; } } - - xfer->status = status; } void purple_xfer_conversation_write(PurpleXfer *xfer, char *message, gboolean is_error)