[ekg2-commit] r4240 - trunk/plugins/jabber: trunk/plugins/jabber/commands.c
SVN commit
svn w toxygen.net
Pią, 8 Sie 2008, 17:38:35 CEST
Author: peres
Date: 2008-08-08 17:38:35 +0200 (Fri, 08 Aug 2008)
New Revision: 4240
Modified:
trunk/plugins/jabber/commands.c
Log:
Move session->connecting onto previous location.
Modified: trunk/plugins/jabber/commands.c
===================================================================
--- trunk/plugins/jabber/commands.c 2008-08-08 15:38:08 UTC (rev 4239)
+++ trunk/plugins/jabber/commands.c 2008-08-08 15:38:35 UTC (rev 4240)
@@ -135,9 +135,7 @@
#endif
j->port = port < 1 ? 5222 : port;
- session->connecting = 1;
if (!(( j->connect_watch = ekg_connect(session, realserver, j->port, NULL, jabber_handle_connect2)))) {
- session->connecting = 0;
printq("generic_error", strerror(errno));
return -1;
}
@@ -150,6 +148,7 @@
xfree(j->resource);
j->resource = xstrdup(resource);
+ session->connecting = 1;
j->sasl_connecting = 0;
printq("connecting", session_name(session));
Więcej informacji o liście dyskusyjnej ekg2-commit