aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-22 13:15:53 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-22 13:15:53 +0100
commit1bb1e012f1d62db84d331a484abf9cb4c191e8e0 (patch)
treeb3ae438ebf243c390bf1ec8317429470bd6ffa45 /protocols
parentf29f50ec080cf6b1f4298465faf5e0348386e9be (diff)
Fixed a misuse of xt_find_node() that could get into an infinite loop.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/jabber/si.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/jabber/si.c b/protocols/jabber/si.c
index 58c0e17f..cd937c4a 100644
--- a/protocols/jabber/si.c
+++ b/protocols/jabber/si.c
@@ -261,6 +261,10 @@ int jabber_si_handle_request( struct im_connection *ic, struct xt_node *node, st
requestok = TRUE;
break;
}
+ else
+ {
+ c = c->next;
+ }
if ( !requestok )
imcb_log( ic, "WARNING: Unsupported file transfer request from %s", ini_jid);