Mercurial > pidgin
diff libpurple/protocols/jabber/si.c @ 30413:7c871249318b
Fix some "Dead nested assignment"s and then kill off some useless
variables related to them.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 14 Aug 2010 05:17:38 +0000 |
parents | fa311a0e51c0 |
children | 351d07aefb09 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c Sat Aug 14 03:55:19 2010 +0000 +++ b/libpurple/protocols/jabber/si.c Sat Aug 14 05:17:38 2010 +0000 @@ -1734,7 +1734,7 @@ /* if they've already sent us this file transfer with the same damn id * then we're gonna ignore it, until I think of something better to do * with it */ - if((xfer = jabber_si_xfer_find(js, stream_id, from))) + if(jabber_si_xfer_find(js, stream_id, from) != NULL) return; jsx = g_new0(JabberSIXfer, 1);