summaryrefslogtreecommitdiff
path: root/anteraja.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 18:23:53 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 18:23:53 +0800
commit98e006f67c205a2674a1b35c3a215ba41ae1881b (patch)
treeacad400fe44a5785a36c10badc8a51f1d48aca95 /anteraja.c
parentc94ad9f218da96aa57098a0560247e23d5a954b7 (diff)
When debugging, debugs for all services/companies
because libcurl's verbose will hit anyway. There's no point trying to debug for a company and not the others.
Diffstat (limited to 'anteraja.c')
-rw-r--r--anteraja.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/anteraja.c b/anteraja.c
index 5e5111d..462ff5d 100644
--- a/anteraja.c
+++ b/anteraja.c
@@ -1,6 +1,3 @@
-#ifdef DEBUG
-#include <stdio.h>
-#endif
#include "shipping.h"
#include "handler.h"
@@ -40,10 +37,6 @@ size_t anteraja_services_handle(const char *contents, size_t size, size_t nmemb,
struct pikul_services **services)
{
size_t realsize = size * nmemb;
-#ifdef DEBUG
- ((char *)contents)[realsize] = '\0';
- fprintf(stderr, "%s\n", contents);
-#endif
handle_services(contents, realsize, status_trail, (const char *[]){
"content",
"services",