Merge release 0.15.13 from branch 'v0.15.x'
Conflicts: NEWS configure.ac src/input/rewind_input_plugin.c src/output/httpd_output_plugin.c
This commit is contained in:
@@ -264,7 +264,7 @@ input_curl_select(struct input_curl *c, GError **error_r)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if LIBCURL_VERSION_NUM >= 0x070f00
|
||||
#if LIBCURL_VERSION_NUM >= 0x070f04
|
||||
long timeout2;
|
||||
mcode = curl_multi_timeout(c->multi, &timeout2);
|
||||
if (mcode != CURLM_OK) {
|
||||
|
@@ -85,10 +85,11 @@ copy_attributes(struct input_rewind *r)
|
||||
dest->size = src->size;
|
||||
dest->offset = src->offset;
|
||||
|
||||
if (dest->mime == NULL && src->mime != NULL)
|
||||
/* this is set only once, and the duplicated pointer
|
||||
is freed by input_stream_close() */
|
||||
if (src->mime != NULL) {
|
||||
if (dest->mime != NULL)
|
||||
g_free(dest->mime);
|
||||
dest->mime = g_strdup(src->mime);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user