From: Stefan Knoblich Date: Thu, 12 Jul 2012 08:02:09 +0000 (+0200) Subject: FreeSWITCH: Fix copy&paste error in -storage cmdline option handling. X-Git-Tag: v1.2.0~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=435f28cefb513145d16484323d33caf78ef5ab99;p=thirdparty%2Ffreeswitch.git FreeSWITCH: Fix copy&paste error in -storage cmdline option handling. "htdocs_dir" -> "storage_dir" Signed-off-by: Stefan Knoblich --- diff --git a/src/switch.c b/src/switch.c index c8342257c2..3fddcb4693 100644 --- a/src/switch.c +++ b/src/switch.c @@ -788,7 +788,7 @@ int main(int argc, char *argv[]) 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) { fprintf(stderr, "Allocation error\n"); return 255;