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

Freeswitch SVN mikej at freeswitch.org
Wed Aug 29 16:38:00 EDT 2007


Author: mikej
Date: Wed Aug 29 16:38:00 2007
New Revision: 5678

Modified:
   freeswitch/trunk/src/switch_console.c

Log:
silence picky compiler.

Modified: freeswitch/trunk/src/switch_console.c
==============================================================================
--- freeswitch/trunk/src/switch_console.c	(original)
+++ freeswitch/trunk/src/switch_console.c	Wed Aug 29 16:38:00 2007
@@ -183,7 +183,7 @@
 static char prompt_str[512] = "";
 
 char * prompt(EditLine *e) {
-	if (switch_strlen_zero(prompt_str)) {
+	if (*prompt_str == '\0') {
 		gethostname(hostname, sizeof(hostname));
 		snprintf(prompt_str, sizeof(prompt_str), "freeswitch@%s> ", hostname);
 	}	



More information about the Freeswitch-svn mailing list