[asterisk-commits] jpeeler: branch 1.4 r139621 - /branches/1.4/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 22 16:36:14 CDT 2008


Author: jpeeler
Date: Fri Aug 22 16:36:13 2008
New Revision: 139621

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139621
Log:
(closes issue #13359)
Reported by: Laureano
Patches:
      originate_channel_check.patch uploaded by Laureano (license 265)

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=139621&r1=139620&r2=139621
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Fri Aug 22 16:36:13 2008
@@ -1866,7 +1866,7 @@
 	
 	pthread_t th;
 	pthread_attr_t attr;
-	if (!name) {
+	if (!ast_strlen_zero(name)) {
 		astman_send_error(s, m, "Channel not specified");
 		return 0;
 	}




More information about the asterisk-commits mailing list