summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c3
1 files changed, 3 insertions, 0 deletions
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);