]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
this one fixes the curl type mismatch warning in mod_xml_cdr
authorStefan Knoblich <stkn@freeswitch.org>
Mon, 26 May 2008 14:20:23 +0000 (14:20 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Mon, 26 May 2008 14:20:23 +0000 (14:20 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8658 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c

index d54a6f1161992301d4a76c5748aa16c35aaac8d6..41c2ffd74bc8795a8c13c46128ec5f387abc625a 100644 (file)
@@ -56,9 +56,9 @@ SWITCH_MODULE_DEFINITION(mod_xml_cdr, mod_xml_cdr_load, NULL, NULL);
  * 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)