[asterisk-commits] russell: branch russell/ast_channel_ao2 r184146 - in /team/russell/ast_channe...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 24 20:38:44 CDT 2009


Author: russell
Date: Tue Mar 24 20:38:40 2009
New Revision: 184146

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184146
Log:
resolve, reset

Modified:
    team/russell/ast_channel_ao2/   (props changed)
    team/russell/ast_channel_ao2/apps/app_senddtmf.c

Propchange: team/russell/ast_channel_ao2/
------------------------------------------------------------------------------
    automerge = *

Propchange: team/russell/ast_channel_ao2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/russell/ast_channel_ao2/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Mar 24 20:38:40 2009
@@ -1,1 +1,1 @@
-/trunk:1-184070
+/trunk:1-184145

Modified: team/russell/ast_channel_ao2/apps/app_senddtmf.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/apps/app_senddtmf.c?view=diff&rev=184146&r1=184145&r2=184146
==============================================================================
--- team/russell/ast_channel_ao2/apps/app_senddtmf.c (original)
+++ team/russell/ast_channel_ao2/apps/app_senddtmf.c Tue Mar 24 20:38:40 2009
@@ -107,7 +107,7 @@
 		return 0;
 	}
 
-	if (!digit) {
+	if (ast_strlen_zero(digit)) {
 		astman_send_error(s, m, "No digit specified");
 		chan = ast_channel_unref(chan);
 		return 0;
@@ -118,7 +118,7 @@
 	chan = ast_channel_unref(chan);
 
 	astman_send_ack(s, m, "DTMF successfully queued");
-	
+
 	return 0;
 }
 




More information about the asterisk-commits mailing list