[asterisk-commits] crichter: trunk r89319 - /trunk/channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 16 02:54:06 CST 2007


Author: crichter
Date: Fri Nov 16 02:54:04 2007
New Revision: 89319

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89319
Log:
fixed compilation of chan_misdn, #11269, thanks IgorG.

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=89319&r1=89318&r2=89319
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri Nov 16 02:54:04 2007
@@ -1686,11 +1686,11 @@
 			if (++which > a->n)
 				break;
 		}
-		ast_mutex_unlock(&c->lock);
+		ast_channel_unlock(c);
 	}
 	if (c) {
 		ret = ast_strdup(c->name);
-		ast_mutex_unlock(&c->lock);
+		ast_channel_unlock(c);
 	} else
 		ret = NULL;
 	return ret;




More information about the asterisk-commits mailing list