[svn-commits] marquis: branch group/pinana-publish-1.4 r296525 - /team/group/pinana-publish...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Nov 28 13:40:47 CST 2010


Author: marquis
Date: Sun Nov 28 13:40:43 2010
New Revision: 296525

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296525
Log:
Fix compilation, sorry oej!

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=296525&r1=296524&r2=296525
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Sun Nov 28 13:40:43 2010
@@ -9923,7 +9923,7 @@
 
 		ast_log(LOG_DEBUG, "*** Creating new publish device for %s\n", sc->dev);
 		snprintf(uri, sizeof(uri), "sip:%s@%s", sc->dev, pres_server->domain);
-		if (!device = ao2_alloc(sizeof(struct sip_published_device), pubdev_destructor)) {
+		if (!(device = ao2_alloc(sizeof(struct sip_published_device), pubdev_destructor))) {
 			ast_log(LOG_ERROR, "Cannot allocate sip_published_device!\n");
 			return -1;
 		}




More information about the svn-commits mailing list