Add hashtable implementation to maintain a local copy of the remote

This commit is contained in:
josch
2014-09-25 13:05:17 +02:00
parent 8ac6e70609
commit b4045f19ce
8 changed files with 942 additions and 8 deletions

View File

@@ -199,6 +199,7 @@ http_post_buf(mfhttp * conn, const char *url, const char *post_args,
curl_easy_setopt(conn->curl_handle, CURLOPT_WRITEDATA, (void *)conn);
curl_easy_setopt(conn->curl_handle, CURLOPT_POSTFIELDS, post_args);
retval = curl_easy_perform(conn->curl_handle);
fprintf(stderr, "POST: %s\n", url);
if (retval != CURLE_OK) {
fprintf(stderr, "error curl_easy_perform %s\n\r", conn->error_buf);
return retval;