diff options
author | Gary Kramlich <grim@reaperworld.com> | 2020-04-09 21:21:40 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2020-04-09 21:21:40 -0500 |
commit | 8de310d3682c91477e536e1dbd0925d51374fd36 (patch) | |
tree | 2d716a4e758462e879e688aea845693e44d3e9b4 /libpurple/xfer.c | |
parent | d283fc516d4219aee8b82edc75cd7baf10781da9 (diff) | |
download | pidgin-8de310d3682c91477e536e1dbd0925d51374fd36.tar.gz |
Fix some issues that scanbuild had identified
Diffstat (limited to 'libpurple/xfer.c')
-rw-r--r-- | libpurple/xfer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpurple/xfer.c b/libpurple/xfer.c index 41c0b9f027..99405c7ae7 100644 --- a/libpurple/xfer.c +++ b/libpurple/xfer.c @@ -1429,10 +1429,10 @@ do_transfer(PurpleXfer *xfer) */ purple_xfer_increase_buffer_size(xfer); } else { - gboolean result; + gboolean handler_result = FALSE; g_signal_emit(xfer, signals[SIG_DATA_NOT_SENT], 0, buffer + r, - result - r, &result); - if (!result) { + result - r, &handler_result); + if (!handler_result) { purple_xfer_cancel_local(xfer); } } |