diff options
| author | Alexander Barton <alex@barton.de> | 2010-12-02 13:36:19 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-12-02 13:36:19 +0100 |
| commit | 5da98ec389de2a6d671d270abba86c395e593537 (patch) | |
| tree | b5a6367814b4b3509bd795f42508697b5eff2cf3 /src | |
| parent | 0305f75456fde86ff9d0179146d2ea821cff1457 (diff) | |
| download | ngircd-5da98ec389de2a6d671d270abba86c395e593537.tar.gz ngircd-5da98ec389de2a6d671d270abba86c395e593537.zip | |
Don't log critical (or worse) messages to stderr
stderr isn't redirected to the "error file" any more, so there is no point in trying to log to it ...
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/log.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ngircd/log.c b/src/ngircd/log.c index f68a0fb9..0bc53ed8 100644 --- a/src/ngircd/log.c +++ b/src/ngircd/log.c @@ -205,12 +205,6 @@ va_dcl Log_Message(Level, msg); - if (Level <= LOG_CRIT) { - /* log critical messages to stderr */ - fprintf(stderr, "%s\n", msg); - fflush(stderr); - } - if (snotice) { /* Send NOTICE to all local users with mode +s and to the * local &SERVER channel */ |