diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-29 18:02:09 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-29 18:02:09 +0800 |
commit | 397b5c1115beea6efff6c4299d42168d0fd9cd8f (patch) | |
tree | f94379db1acdaad944ee622b2de1e68be4e7c64f | |
parent | b66ded0d42cefe1f2d17640b146cadf82cf40280 (diff) |
DEBUG logs to stdout
-rw-r--r-- | pikul.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |