[svn-commits] dhubbard: branch 1.4 r80878 - /branches/1.4/apps/app_zapateller.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 24 17:59:53 CDT 2007


Author: dhubbard
Date: Fri Aug 24 17:59:52 2007
New Revision: 80878

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80878
Log:
An empty string is an empty callerid ... so zap it.  This closes issue #10502, which was pointed out by dswartz.  Thank you, and may the swartz be with you

Modified:
    branches/1.4/apps/app_zapateller.c

Modified: branches/1.4/apps/app_zapateller.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_zapateller.c?view=diff&rev=80878&r1=80877&r2=80878
==============================================================================
--- branches/1.4/apps/app_zapateller.c (original)
+++ branches/1.4/apps/app_zapateller.c Fri Aug 24 17:59:52 2007
@@ -85,7 +85,7 @@
 			res = ast_safe_sleep(chan, 500);
 		}
 	}
-	if (chan->cid.cid_num && nocallerid) {
+	if (!ast_strlen_zero(chan->cid.cid_num) && nocallerid) {
 		ast_module_user_remove(u);
 		return res;
 	} 




More information about the svn-commits mailing list