diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-23 20:19:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-23 20:19:12 +0000 |
commit | 8ab8cc4d260c0ab4c04308ee4ce71ea5d436f0cd (patch) | |
tree | 06c6021af66866d5c79a9ae6256c439b7401a474 /say.c | |
parent | e75fae58e9c14ad42e5d2e7a537a8315bd60dd91 (diff) |
datetime patches from Tilghman (bug #1905)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3289 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'say.c')
-rwxr-xr-x | say.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -1836,8 +1836,7 @@ int ast_say_date_with_format_en(struct ast_channel *chan, time_t time, char *int for (sndoffset=0 ; (format[++offset] != '\'') && (sndoffset < 256) ; sndoffset++) sndfile[sndoffset] = format[offset]; sndfile[sndoffset] = '\0'; - snprintf(nextmsg,sizeof(nextmsg), AST_SOUNDS "/%s", sndfile); - res = wait_file(chan,ints,nextmsg,lang); + res = wait_file(chan,ints,sndfile,lang); break; case 'A': case 'a': @@ -2118,8 +2117,7 @@ int ast_say_date_with_format_de(struct ast_channel *chan, time_t time, char *int for (sndoffset=0 ; (format[++offset] != '\'') && (sndoffset < 256) ; sndoffset++) sndfile[sndoffset] = format[offset]; sndfile[sndoffset] = '\0'; - snprintf(nextmsg,sizeof(nextmsg), AST_SOUNDS "/%s", sndfile); - res = wait_file(chan,ints,nextmsg,lang); + res = wait_file(chan,ints,sndfile,lang); break; case 'A': case 'a': @@ -2584,8 +2582,7 @@ int ast_say_date_with_format_nl(struct ast_channel *chan, time_t time, char *int for (sndoffset=0 ; (format[++offset] != '\'') && (sndoffset < 256) ; sndoffset++) sndfile[sndoffset] = format[offset]; sndfile[sndoffset] = '\0'; - snprintf(nextmsg,sizeof(nextmsg), AST_SOUNDS "/%s", sndfile); - res = wait_file(chan,ints,nextmsg,lang); + res = wait_file(chan,ints,sndfile,lang); break; case 'A': case 'a': @@ -3012,8 +3009,7 @@ int ast_say_date_with_format_tw(struct ast_channel *chan, time_t time, char *int for (sndoffset=0 ; (format[++offset] != '\'') && (sndoffset < 256) ; sndoffset++) sndfile[sndoffset] = format[offset]; sndfile[sndoffset] = '\0'; - snprintf(nextmsg,sizeof(nextmsg), AST_SOUNDS "/%s", sndfile); - res = wait_file(chan,ints,nextmsg,lang); + res = wait_file(chan,ints,sndfile,lang); break; case 'A': case 'a': |