diff options
Diffstat (limited to 'content/fetchers/data.c')
-rw-r--r-- | content/fetchers/data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fetchers/data.c b/content/fetchers/data.c index 84d0aa3fa..bbd4395d9 100644 --- a/content/fetchers/data.c +++ b/content/fetchers/data.c @@ -142,7 +142,7 @@ static bool fetch_data_process(struct fetch_data_context *c) char *params; char *comma; char *unescaped; - int unescaped_len; + int unescaped_len; /* format of a data: URL is: * data:[<mimetype>][;base64],<data> @@ -197,8 +197,8 @@ static bool fetch_data_process(struct fetch_data_context *c) /* URL unescape the data first, just incase some insane page * decides to nest URL and base64 encoding. Like, say, Acid2. */ - unescaped = curl_easy_unescape(curl, comma + 1, 0, &unescaped_len); - if (unescaped == NULL) { + unescaped = curl_easy_unescape(curl, comma + 1, 0, &unescaped_len); + if (unescaped == NULL) { msg.type = FETCH_ERROR; msg.data.error = "Unable to URL decode data: URL"; fetch_data_send_callback(&msg, c); |