From 397b5c1115beea6efff6c4299d42168d0fd9cd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 29 Sep 2022 18:02:09 +0800 Subject: DEBUG logs to stdout --- pikul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pikul.c b/pikul.c index 78ec3d6..42ebc13 100644 --- a/pikul.c +++ b/pikul.c @@ -45,7 +45,7 @@ static size_t handle(char *contents, size_t size, size_t nmemb, struct shipping fprintf(log, "%s%s\n", ctime(&now), contents); fclose(log); #else - fprintf(stderr, "%s%s\n", ctime(&now), contents); + printf("%s%s\n", ctime(&now), contents); #endif #endif json_tokener *tokener = shipping->tokener; -- cgit v1.2.3