diff options
author | default <nobody@localhost> | 2023-02-03 16:51:59 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-03 16:51:59 +0100 |
commit | d49089898f077796eea5fb75c3674c57db399cc1 (patch) | |
tree | 212f5c858317e62a28e8fc94302fa495207bf6a0 /data.c | |
parent | 928f22fbbaec5d52836b217ec7a281b880b23f92 (diff) |
Elevated debug level to bad user / invalid user messages.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -155,6 +155,9 @@ int user_open(snac *snac, const char *uid) if ((f = fopen(cfg_file, "r")) != NULL) { xs *cfg_data; +// if (fileno(f) > 100) +// snac_log(snac, xs_fmt("CAUTION: fileno() > 100")); + /* read full config file */ cfg_data = xs_readall(f); fclose(f); @@ -186,7 +189,7 @@ int user_open(snac *snac, const char *uid) srv_debug(2, xs_fmt("error opening '%s'", cfg_file)); } else - srv_log(xs_fmt("invalid user '%s'", uid)); + srv_debug(1, xs_fmt("invalid user '%s'", uid)); if (!ret) user_free(snac); |