From: Anthony Minessale Date: Sun, 1 Nov 2009 18:51:02 +0000 (+0000) Subject: missing %s in 2 places X-Git-Tag: v1.0.6~1543 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10bc5514df740966c0bb9e31d4ffe01d5cac9226;p=thirdparty%2Ffreeswitch.git missing %s in 2 places git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15308 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 89ec2ad425..78ed4a9105 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -964,7 +964,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t } } - file = switch_core_session_sprintf(session, "%s%s%s%s", switch_str_nil(tfile), tfile ? "]" : "", prefix, SWITCH_PATH_SEPARATOR, file); + file = switch_core_session_sprintf(session, "%s%s%s%s%s", switch_str_nil(tfile), tfile ? "]" : "", prefix, SWITCH_PATH_SEPARATOR, file); } if (switch_core_file_open(fh, diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 57161bfb36..5feb8b25ac 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -483,7 +483,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se } } - file = switch_core_session_sprintf(session, "%s%s%s%s", switch_str_nil(tfile), tfile ? "]" : "", prefix, SWITCH_PATH_SEPARATOR, file); + file = switch_core_session_sprintf(session, "%s%s%s%s%s", switch_str_nil(tfile), tfile ? "]" : "", prefix, SWITCH_PATH_SEPARATOR, file); } if ((ext = strrchr(file, '.'))) { ext++;