[asterisk-commits] file: branch 1.4 r70899 - in /branches/1.4: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 21 16:40:19 CDT 2007
Author: file
Date: Thu Jun 21 16:40:19 2007
New Revision: 70899
URL: http://svn.digium.com/view/asterisk?view=rev&rev=70899
Log:
Merged revisions 70898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines
Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/apps/app_voicemail.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=70899&r1=70898&r2=70899
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Thu Jun 21 16:40:19 2007
@@ -6301,7 +6301,7 @@
}
if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
int gain;
- if (opts[OPT_ARG_RECORDGAIN]) {
+ if (!ast_strlen_zero(opts[OPT_ARG_RECORDGAIN])) {
if (sscanf(opts[OPT_ARG_RECORDGAIN], "%d", &gain) != 1) {
ast_log(LOG_WARNING, "Invalid value '%s' provided for record gain option\n", opts[OPT_ARG_RECORDGAIN]);
ast_module_user_remove(u);
More information about the asterisk-commits
mailing list