(no commit message)
[prss.git] / src / http.c
index 55eab0f..a9cf301 100644 (file)
@@ -77,7 +77,7 @@ char *http_get(const char *url, const char *content)
        if (content) {
                curl_easy_setopt(curl, CURLOPT_POSTFIELDS, content);
                curl_easy_setopt(curl,
-                                CURLOPT_POSTFIELDSIZE, 
+                                CURLOPT_POSTFIELDSIZE,
                                 (long)strlen(content));
        }
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, cbk_curl);
@@ -104,14 +104,14 @@ json_object *http_json_get(const char *url, struct json_object *j)
        if (debug)
                printf("HTTP request= %s\n",
                       json_object_to_json_string(j));
-       
+
        if (out) {
                result = json_tokener_parse(out);
                if (debug)
                        printf("HTTP reply= %s\n", out);
                free(out);
                return result;
-       } 
+       }
 
        return NULL;
 }