[Freeswitch-svn] [commit] r12336 - freeswitch/trunk/scripts/contrib/mrene/fshost

FreeSWITCH SVN mrene at freeswitch.org
Fri Feb 27 13:48:06 PST 2009


Author: mrene
Date: Fri Feb 27 15:48:06 2009
New Revision: 12336

Log:
tweak

Modified:
   freeswitch/trunk/scripts/contrib/mrene/fshost/main.c

Modified: freeswitch/trunk/scripts/contrib/mrene/fshost/main.c
==============================================================================
--- freeswitch/trunk/scripts/contrib/mrene/fshost/main.c	(original)
+++ freeswitch/trunk/scripts/contrib/mrene/fshost/main.c	Fri Feb 27 15:48:06 2009
@@ -50,7 +50,8 @@
 	printf("Initializing core...\n");
 	/* Initialize the core and load modules, that will startup FS completely */
 	if (switch_core_init_and_modload(flags, console, &err) != SWITCH_STATUS_SUCCESS) {
-	  fprintf(stderr, "Cannot Initialize [%s]\n", err);
+		fprintf(stderr, "Failed to initialize FreeSWITCH's core: %s\n", err);
+		return 1;
 	}
 	
 	printf("Everything OK, Entering runtime loop.\n");



More information about the Freeswitch-svn mailing list