[asterisk-commits] oej: branch group/pinana-publish-1.4 r296517 - /team/group/pinana-publish-1.4...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 28 08:09:35 CST 2010


Author: oej
Date: Sun Nov 28 08:09:30 2010
New Revision: 296517

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296517
Log:
No more crashes, please. It's thanksgiving.

Modified:
    team/group/pinana-publish-1.4/channels/chan_sip.c

Modified: team/group/pinana-publish-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinana-publish-1.4/channels/chan_sip.c?view=diff&rev=296517&r1=296516&r2=296517
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Sun Nov 28 08:09:30 2010
@@ -9880,10 +9880,11 @@
 	}
 
 	ao2_iterator_destroy(&i);
+	ast_log(LOG_DEBUG, "   PUBLISH: We may have found something or not... \n");
 
 	/* At this point we have a device state change to publish to one presence server. */
 	if (!found) {
-		ast_log(LOG_DEBUG, "*** Creating new publish device for %s\n", device->name);
+		ast_log(LOG_DEBUG, "*** Creating new publish device for %s\n", sc->dev);
 		device = ast_calloc(1, sizeof(*device));
 		ast_copy_string(device->name, sc->dev, sizeof(device->name));
 		ast_copy_string(device->pubname, pres_server->name, sizeof(device->pubname));




More information about the asterisk-commits mailing list