[Freeswitch-svn] [commit] r12571 - freeswitch/trunk/src/mod/xml_int/mod_xml_curl

FreeSWITCH SVN anthm at freeswitch.org
Wed Mar 11 10:26:37 PDT 2009


Author: anthm
Date: Wed Mar 11 12:26:37 2009
New Revision: 12571

Log:
sigh

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	Wed Mar 11 12:26:37 2009
@@ -111,7 +111,7 @@
 	config_data->bytes += realsize;
 
 	if (config_data->bytes > config_data->max_bytes) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Oversized file detected [%ld bytes]\n", config_data->bytes);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Oversized file detected [%d bytes]\n", (int)config_data->bytes);
 		config_data->err = 1;
 		return 0;
 	}



More information about the Freeswitch-svn mailing list