From: Stefan Knoblich Date: Mon, 26 May 2008 14:20:23 +0000 (+0000) Subject: this one fixes the curl type mismatch warning in mod_xml_cdr X-Git-Tag: v1.0.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c85e9394564bee1e19c5d1d10d84db2434296e;p=thirdparty%2Ffreeswitch.git this one fixes the curl type mismatch warning in mod_xml_cdr git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8658 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c b/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c index d54a6f1161..41c2ffd74b 100644 --- a/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c +++ b/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c @@ -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)