diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-19 17:25:14 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-19 17:25:14 +0800 |
commit | 669455d56246517cb04038b11f977c01d080ef27 (patch) | |
tree | ab6357b927a92b0774f4192f2cc3ef4fc3f8decc /client.c | |
parent | e39dff5001bdd36bd2a2ca546ff19ea39965f79c (diff) |
No curl init for Emscripten
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,7 +34,9 @@ void icclient_init(const char *url, const char *dir, const char *cert) certificate = malloc(strlen(certificate) + 1); strcpy(certificate, cert); } +#ifndef __EMSCRIPTEN__ curl_global_init(CURL_GLOBAL_SSL); +#endif } void icclient_catalog(const char *prod_group, void (*handler)(icclient_response *), void (*callback)(struct icclient_catalog *)) |