diff options
| author | Soikk | 2025-12-11 01:47:51 +0100 |
|---|---|---|
| committer | Soikk | 2025-12-11 01:47:51 +0100 |
| commit | 5782ed4c6b0c0dc3a1f5863935541301ebc4e5ef (patch) | |
| tree | a91a436ca0331e4a0abd6143a43e619abaafdc8c | |
| parent | 7bcdd0f00754dc82772386f17cd885b9c71a2db0 (diff) | |
| download | soikk-libs-master.tar.xz soikk-libs-master.tar.zst | |
| -rw-r--r--[-rwxr-xr-x] | bit/bit.c | 0 | ||||
| -rwxr-xr-x | log/log.c | 2 | ||||
| -rwxr-xr-x | log/log.h | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/bit/bit.c b/bit/bit.c index a4924a0..a4924a0 100755..100644 --- a/bit/bit.c +++ b/bit/bit.c @@ -166,7 +166,7 @@ void log_message(int level, char *file, int line, char *fmt, ...){ log_levels[level].name, "\e[0m" ); if(level == LOG_DEBUG){ - written += snprintf(msg+written, MSG_LIMIT-2-written, "%s:%d: ",file, line); + written += snprintf(msg+written, MSG_LIMIT-2-written, "%s:%d: ", file, line); } va_list args; va_start(args, fmt); @@ -23,7 +23,7 @@ enum { }; #define MAX_LOGFILES (8) -#define MSG_LIMIT (256) +#define MSG_LIMIT (4096) int log_get_stderr(int level); |
