aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authors-over-42023-06-16 00:56:35 -0400
committers-over-42023-06-16 00:56:35 -0400
commitcd42ebee104483235d4ad0da9f06cbc381443f44 (patch)
treeee0136d2460762e5d8a8c657ef7ba86b0f6b607f /src
parente398038b94efc2144bb6941f5e95e6557b8ac7f4 (diff)
added some tests, will find a better way to do this in the future :P
Diffstat (limited to 'src')
-rw-r--r--src/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c
index 02d7271..15ac0d4 100644
--- a/src/util.c
+++ b/src/util.c
@@ -16,19 +16,19 @@ void die(const char* fmt, ...) {
void log_inf(const char* fmt, ...) {
va_list ap;
- fprintf(stderr, "[\e[34m==\e[0m] ");
+ fprintf(stdout, "[\e[34m==\e[0m] ");
va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
+ vfprintf(stdout, fmt, ap);
va_end(ap);
- fprintf(stderr, "\n");
+ fprintf(stdout, "\n");
}
void log_raw(const char* fmt, ...) {
va_list ap;
va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
+ vfprintf(stdout, fmt, ap);
va_end(ap);
}