summaryrefslogtreecommitdiff
path: root/request.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-14 15:24:23 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-14 15:24:23 +0800
commit51258871e3ad354ceebc4912548178705b5700d6 (patch)
tree6bbdb8ff3f452ee92f1b9b3a6d40c57326d97eb3 /request.c
parent53410fd11fbd3206c8a7c4b56be90f2401849c09 (diff)
Strap results handler
Diffstat (limited to 'request.c')
-rw-r--r--request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/request.c b/request.c
index 835bf3a..0a5f7fd 100644
--- a/request.c
+++ b/request.c
@@ -4,7 +4,6 @@
emscripten_fetch_attr_t attr;
#else
CURL *curl;
-char *server_url;
size_t append(char *data, size_t size, size_t nmemb, icclient_fetch_t *fetch)
{
size_t realsize = size * nmemb;
@@ -16,6 +15,6 @@ size_t append(char *data, size_t size, size_t nmemb, icclient_fetch_t *fetch)
}
#endif
-extern inline void init(const char *, const char *);
+extern inline void init(const char *);
extern inline void request(void (*)(icclient_fetch_t *), void *, struct body *, char *, ...);
extern inline void cleanup();