summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-12-29 08:36:39 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-12-29 08:36:39 +0800
commit4c00d748c3c86cbb5039660c2a5bebac0c826386 (patch)
treeb83f96a57506561131af1209c4dfedb421a5c3cb /main.c
parent30d862751ce42ecf667d08c360009aca3aacc1f8 (diff)
Add parameters for handler and user pointers
to login related functions. These are the cURL write function and data respectively.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2d72969..68f5867 100644
--- a/main.c
+++ b/main.c
@@ -26,7 +26,7 @@ int main(void)
icclient_init(url, NULL);
free(url);
- icclient_login(name, pass, NULL, NULL, NULL);
+ icclient_login(NULL, NULL, name, pass, NULL, NULL, NULL);
free(name);
free(pass);