[Freeswitch-svn] [commit] r5538 - freeswitch/trunk/scripts/contrib/trixter

Freeswitch SVN trixter at freeswitch.org
Wed Jul 18 04:52:01 EDT 2007


Author: trixter
Date: Wed Jul 18 04:52:00 2007
New Revision: 5538

Modified:
   freeswitch/trunk/scripts/contrib/trixter/switch_xml.c

Log:
oops


Modified: freeswitch/trunk/scripts/contrib/trixter/switch_xml.c
==============================================================================
--- freeswitch/trunk/scripts/contrib/trixter/switch_xml.c	(original)
+++ freeswitch/trunk/scripts/contrib/trixter/switch_xml.c	Wed Jul 18 04:52:00 2007
@@ -968,13 +968,13 @@
 
 		if ((cmd = strstr(bp, "<!--#"))) {
 			if(write(write_fd, bp, (unsigned) (cmd - bp)) != (cmd - bp)) {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n", err);
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n");
 			}
 			if ((e = strstr(cmd, "-->"))) {
 				*e = '\0';
 				e += 3;
 				if(write(write_fd, e, (unsigned) strlen(e)) != (unsigned) strlen(e)) {
-					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n", err);
+					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n");
 				}
 			} else {
 				ml++;
@@ -1033,7 +1033,7 @@
 		}
 
 		if(write(write_fd, bp, (unsigned) cur) != (unsigned) cur) {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n", err);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n");
 		}
 
 	}



More information about the Freeswitch-svn mailing list