From e5b07c7117ddc511520c17a50aa762921c69db28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 22 Oct 2019 21:51:39 +0800 Subject: Turn on verbose again when debugging --- client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.c b/client.c index a1358c4..87cb90a 100644 --- a/client.c +++ b/client.c @@ -24,6 +24,9 @@ bool icclient_init(const char *url, const char *certificate) curl_easy_setopt(curl, CURLOPT_COOKIEFILE, ""); if (certificate) curl_easy_setopt(curl, CURLOPT_CAINFO, certificate); +#ifdef DEBUG + curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); +#endif size_t length = strlen(url); bool append = !(bool)(url[length - 1] == '/'); server_url = malloc(length + (size_t)append + 1); -- cgit v1.2.3