aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-12-19 00:31:40 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-12-19 00:31:40 +0100
commit79e6835eb9478680530e66e12dc365993a08b788 (patch)
tree477a96ea6f0ae70df4c1c0daa3e3dcfc3337bcc3 /src/net.h
parent24288734e78aa2242b86dde8c770278fa1f5e05c (diff)
downloadpolecat-79e6835eb9478680530e66e12dc365993a08b788.tar.gz
polecat-79e6835eb9478680530e66e12dc365993a08b788.zip
remove useless struct, add json length type macro
- previously used progress struct was a leftover from when libcurl examples were used - json_object_array_length returns int pre 0.13 and site_t on any other version
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 25790d9..722c6bb 100644
--- a/src/net.h
+++ b/src/net.h
@@ -4,7 +4,6 @@
#include <curl/curl.h>
#include <json.h>
-#define TIMETYPE curl_off_t
#define TIMEOPT CURLINFO_TOTAL_TIME_T
size_t WriteMemoryCallback(void*, size_t, size_t, void*);