From 2fea35282f00c36ad977fb34666cd679d5683c7c Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 4 Jul 2014 07:43:59 +0000 Subject: [PATCH] Advance the data_stream data pointer --- src/mod/applications/mod_curl/mod_curl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/applications/mod_curl/mod_curl.c b/src/mod/applications/mod_curl/mod_curl.c index de19249c30..87e01ec35a 100644 --- a/src/mod/applications/mod_curl/mod_curl.c +++ b/src/mod/applications/mod_curl/mod_curl.c @@ -162,6 +162,7 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) dstream->length = 0; } memmove(ptr, dstream->data, ncur); + dstream->data += ncur; return ncur; }