diff options
Diffstat (limited to 'apps/app_hasnewvoicemail.c')
-rwxr-xr-x | apps/app_hasnewvoicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c index 62585f1c4..733a65ec8 100755 --- a/apps/app_hasnewvoicemail.c +++ b/apps/app_hasnewvoicemail.c @@ -113,7 +113,7 @@ static int hasvoicemail_exec(struct ast_channel *chan, void *data) /* Set the count in the channel variable */ if (varname) { char tmp[12]; - snprintf(tmp, sizeof(tmp) - 1, "%d", vmcount); + snprintf(tmp, sizeof(tmp), "%d", vmcount); pbx_builtin_setvar_helper(chan, varname, tmp); } |