[Freeswitch-svn] [commit] r8658 - freeswitch/trunk/src/mod/xml_int/mod_xml_cdr

Freeswitch SVN stkn at freeswitch.org
Mon May 26 10:20:23 EDT 2008


Author: stkn
Date: Mon May 26 10:20:23 2008
New Revision: 8658

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

Log:
this one fixes the curl type mismatch warning in mod_xml_cdr

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	Mon May 26 10:20:23 2008
@@ -56,9 +56,9 @@
  * and the default curl activity is to print to stdout, something not as desirable
  * so we have a dummy function here
  */
-static void httpCallBack()
+static size_t httpCallBack(char *buffer, size_t size, size_t nitems, void *outstream)
 {
-	return;
+	return size * nitems;
 }
 
 static switch_status_t my_on_hangup(switch_core_session_t *session)



More information about the Freeswitch-svn mailing list