diff options
author | nirav <nirav@teisuu.com> | 2019-03-17 10:16:18 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2019-03-17 10:16:18 +0530 |
commit | 72cedecbbfa6b17b444edf5943dce2ecc307a340 (patch) | |
tree | 8e49a2ffd4b4f615d99d299ea294f6a5e00ffa8d /src/log.c | |
parent | 63e8c7f9d095fe0b1e0b44f950230c0e238f166d (diff) | |
download | ap_client-72cedecbbfa6b17b444edf5943dce2ecc307a340.tar.gz ap_client-72cedecbbfa6b17b444edf5943dce2ecc307a340.zip |
Fix log_msg
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ void log_msg(enum log_level level, const char *namespace, const char *format, .. vfprintf(stderr, format, args); fprintf(stderr, "\n"); - if (level == LOG_ERROR) { + if (level == LOG_WARNING) { exit(EXIT_FAILURE); } else if (level == LOG_FATAL) { abort(); |