mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 05:29:22 +00:00
better error message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10356 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
609c3b1553
commit
90f79c3f0d
@ -56,7 +56,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
|
|||||||
file_path = rhs + 3;
|
file_path = rhs + 3;
|
||||||
} else {
|
} else {
|
||||||
if ((ext = strrchr(file_path, '.')) == 0) {
|
if ((ext = strrchr(file_path, '.')) == 0) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Format\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown file Format [%s]\n", file_path);
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
ext++;
|
ext++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user