]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
sigh
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 11 Mar 2009 17:26:37 +0000 (17:26 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 11 Mar 2009 17:26:37 +0000 (17:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12571 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

index 5a9c6be8e915690c9f56da6e88d50f56de8b7cc4..d7dd7cf600a7ef8ceb769601b8b5c575e289d271 100644 (file)
@@ -111,7 +111,7 @@ static size_t file_callback(void *ptr, size_t size, size_t nmemb, void *data)
        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;
        }