[svn-commits] file: trunk r56811 - in /trunk: ./ main/pbx.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Feb 26 10:12:19 MST 2007
Author: file
Date: Mon Feb 26 11:12:18 2007
New Revision: 56811
URL: http://svn.digium.com/view/asterisk?view=rev&rev=56811
Log:
Merged revisions 56805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r56805 | file | 2007-02-26 12:09:53 -0500 (Mon, 26 Feb 2007) | 2 lines
Use ast_strlen_zero to see if the language and/or context argument is not present for Background instead of just checking if it is NULL. (issue #9141 reported by mjagdis)
........
Modified:
trunk/ (props changed)
trunk/main/pbx.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=56811&r1=56810&r2=56811
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Mon Feb 26 11:12:18 2007
@@ -5574,10 +5574,10 @@
AST_STANDARD_APP_ARGS(args, parse);
- if (!args.lang)
+ if (ast_strlen_zero(args.lang))
args.lang = (char *)chan->language; /* XXX this is const */
- if (!args.context)
+ if (ast_strlen_zero(args.context))
args.context = chan->context;
if (args.options) {
More information about the svn-commits
mailing list