summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-29 18:02:09 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-29 18:02:09 +0800
commit397b5c1115beea6efff6c4299d42168d0fd9cd8f (patch)
treef94379db1acdaad944ee622b2de1e68be4e7c64f
parentb66ded0d42cefe1f2d17640b146cadf82cf40280 (diff)
DEBUG logs to stdout
-rw-r--r--pikul.c2
1 files changed, 1 insertions, 1 deletions
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;