diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 4 | ||||
-rw-r--r-- | content/fetchers/curl.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c index ffc907891..5b9aba1b0 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -665,8 +665,10 @@ void fetch_multipart_data_destroy(struct fetch_multipart_data *list) next = list->next; free(list->name); free(list->value); - if (list->file) + if (list->file) { + LOG(("Freeing rawfile: %s", list->rawfile)); free(list->rawfile); + } free(list); } } diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c index 7578ad4cb..1fada9d0a 100644 --- a/content/fetchers/curl.c +++ b/content/fetchers/curl.c @@ -1299,6 +1299,7 @@ fetch_curl_post_convert(const struct fetch_multipart_data *control) code, control->name)); } else { char *mimetype = fetch_mimetype(control->value); + LOG(("XYZZY: Using rawfile of %s", control->rawfile)); code = curl_formadd(&post, &last, CURLFORM_COPYNAME, control->name, CURLFORM_FILE, control->rawfile, |