updated log api
[prss.git] / src / http.c
index 0689a84..32a30e7 100644 (file)
@@ -28,7 +28,7 @@
 #include <curl/curl.h>
 
 #include "http.h"
-#include "log.h"
+#include <plog.h>
 
 struct http_session {
        CURL *curl;
@@ -87,7 +87,7 @@ http_get(struct http_session *sess, const char *url, const char *content)
        pthread_mutex_lock(&sess->lock);
 
        curl_easy_setopt(sess->curl, CURLOPT_URL, url);
-       curl_easy_setopt(sess->curl, CURLOPT_VERBOSE, 1);
+       curl_easy_setopt(sess->curl, CURLOPT_VERBOSE, 0);
        if (content) {
                curl_easy_setopt(sess->curl, CURLOPT_POSTFIELDS, content);
                curl_easy_setopt(sess->curl,