[asterisk-commits] file: trunk r85851 - in /trunk: ./ funcs/func_vmcount.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 16 10:15:54 CDT 2007
Author: file
Date: Tue Oct 16 10:15:53 2007
New Revision: 85851
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85851
Log:
Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines
Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa
........
Modified:
trunk/ (props changed)
trunk/funcs/func_vmcount.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/funcs/func_vmcount.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_vmcount.c?view=diff&rev=85851&r1=85850&r2=85851
==============================================================================
--- trunk/funcs/func_vmcount.c (original)
+++ trunk/funcs/func_vmcount.c Tue Oct 16 10:15:53 2007
@@ -55,6 +55,9 @@
buf[0] = '\0';
+ if (ast_strlen_zero(argsstr))
+ return -1;
+
AST_STANDARD_APP_ARGS(args, argsstr);
if (strchr(args.vmbox, '@')) {
More information about the asterisk-commits
mailing list