[asterisk-commits] bweschke: branch bweschke/originate_w_jabber r96859 - /team/bweschke/originat...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 7 09:59:13 CST 2008


Author: bweschke
Date: Mon Jan  7 09:59:13 2008
New Revision: 96859

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96859
Log:
 Bringing this module up to date with r95794 commit to /trunk res_jabber.c


Modified:
    team/bweschke/originate_w_jabber/res/res_jabber.c

Modified: team/bweschke/originate_w_jabber/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/team/bweschke/originate_w_jabber/res/res_jabber.c?view=diff&rev=96859&r1=96858&r2=96859
==============================================================================
--- team/bweschke/originate_w_jabber/res/res_jabber.c (original)
+++ team/bweschke/originate_w_jabber/res/res_jabber.c Mon Jan  7 09:59:13 2008
@@ -2294,8 +2294,13 @@
  */
 static int aji_initialize(struct aji_client *client)
 {
+	int connected = IKS_NET_NOCONN;
+	
+	/* reset stream flags */
+	client->stream_flags = 0;
+
 	/* If it's a component, connect to user, otherwise, connect to server */
-	int connected = iks_connect_via(client->p, S_OR(client->serverhost, client->jid->server), client->port, client->component ? client->user : client->jid->server);
+	connected = iks_connect_via(client->p, S_OR(client->serverhost, client->jid->server), client->port, client->component ? client->user : client->jid->server);
 
 	if (connected == IKS_NET_NOCONN) {
 		ast_log(LOG_ERROR, "JABBER ERROR: No Connection\n");




More information about the asterisk-commits mailing list