[asterisk-commits] mmichelson: trunk r86350 - /trunk/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 18 13:40:49 CDT 2007


Author: mmichelson
Date: Thu Oct 18 13:40:48 2007
New Revision: 86350

URL: http://svn.digium.com/view/asterisk?view=rev&rev=86350
Log:
Fixing a segfault from tab-completing a "zap restart" CLI command.

(patch made by seanbright, pointed out in #asterisk-dev on IRC)


Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=86350&r1=86349&r2=86350
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Oct 18 13:40:48 2007
@@ -10890,6 +10890,8 @@
 			"	re-reads them from zapata.conf.\n"
 			"	Note that this will STOP any running CALL on zaptel channels.\n"
 			"";
+		return NULL;
+	case CLI_GENERATE:
 		return NULL;
 	}
 	if (a->argc != 2)




More information about the asterisk-commits mailing list