[Freeswitch-svn] [commit] r11546 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Jan 28 16:17:33 PST 2009


Author: anthm
Date: Wed Jan 28 18:17:33 2009
New Revision: 11546

Log:
annoy CtRiX

Modified:
   freeswitch/trunk/src/switch.c

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Wed Jan 28 18:17:33 2009
@@ -275,6 +275,10 @@
 	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"



More information about the Freeswitch-svn mailing list