From: Anthony Minessale Date: Thu, 29 Jan 2009 00:17:33 +0000 (+0000) Subject: annoy CtRiX X-Git-Tag: v1.0.3~528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ecf6d17f7c4373eb3ef239eda0c585c9c13c7d;p=thirdparty%2Ffreeswitch.git annoy CtRiX git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11546 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch.c b/src/switch.c index eb35de4603..19e0578efa 100644 --- a/src/switch.c +++ b/src/switch.c @@ -275,6 +275,10 @@ int main(int argc, char *argv[]) switch_file_t *fd; switch_memory_pool_t *pool = NULL; + if (argv[0] && strstr(argv[0], "freeswitchd")) { + nc++; + } + usageDesc = "these are the optional arguments you can pass to freeswitch\n" #ifdef WIN32 "\t-service [name] -- start freeswitch as a service, cannot be used if loaded as a console app\n"