From d5c85e9394564bee1e19c5d1d10d84db2434296e Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Mon, 26 May 2008 14:20:23 +0000 Subject: [PATCH] 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 --- src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)