mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-22 23:16:09 +00:00
FreeSWITCH: Fix copy&paste error in -storage cmdline option handling.
"htdocs_dir" -> "storage_dir" Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
fc5490f1dc
commit
435f28cefb
@ -788,7 +788,7 @@ int main(int argc, char *argv[])
|
|||||||
return 255;
|
return 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_GLOBAL_dirs.htdocs_dir = (char *) malloc(strlen(local_argv[x]) + 1);
|
SWITCH_GLOBAL_dirs.storage_dir = (char *) malloc(strlen(local_argv[x]) + 1);
|
||||||
if (!SWITCH_GLOBAL_dirs.storage_dir) {
|
if (!SWITCH_GLOBAL_dirs.storage_dir) {
|
||||||
fprintf(stderr, "Allocation error\n");
|
fprintf(stderr, "Allocation error\n");
|
||||||
return 255;
|
return 255;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user