/soc/2015/koosha/main: bfcd3d2bdfa0: Start counting stanzas just...
Koosha Khajehmoogahi
koosha at posteo.de
Mon Aug 10 11:51:25 EDT 2015
Changeset: bfcd3d2bdfa0b176357af5ec94f6114b384f8aaf
Author: Koosha Khajehmoogahi <koosha at posteo.de>
Date: 2015-08-10 17:49 +0200
Branch: default
URL: https://hg.pidgin.im/soc/2015/koosha/main/rev/bfcd3d2bdfa0
Description:
Start counting stanzas just after enabling stream management
diffstat:
libpurple/protocols/jabber/jabber.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols/jabber/jabber.c b/libpurple/protocols/jabber/jabber.c
--- a/libpurple/protocols/jabber/jabber.c
+++ b/libpurple/protocols/jabber/jabber.c
@@ -154,6 +154,8 @@ static void jabber_session_init(JabberSt
sm = g_strdup_printf("<enable xmlns='" NS_XMPP_SM "' resume='true' />");
jabber_send_raw(js, sm, -1);
g_free(sm);
+ /* From now on, count the number of stanzas received */
+ js->stanzas_recvd = 0;
}
}
More information about the Commits
mailing list