~registry/ngircd/testing

« back to all changes in this revision

Viewing changes to src/ngircd/log.c

  • Committer: DNS
  • Date: 2013-08-27 14:48:36 UTC
  • mfrom: (2671.5.8)
  • Revision ID: git-v1:bdb2850b399a7fac6a70fe24bd1f58dbd78cc307
Merge branch 'master' into testing

· Remove Conf_PreventLocalChans and Conf_PreventMLChans, obsolete now
· Remove RPL_HELP_MSG

Fixed conflicts with:
        doc/sample-ngircd.conf.tmpl
        man/ngircd.conf.5.tmpl
        src/ngircd/conf.c
        src/ngircd/irc-channel.c
        src/ngircd/irc-info.c
        src/ngircd/messages.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        if (!Is_Daemon) {
54
54
                /* log to console */
55
55
                fprintf(stdout, "[%ld:%d %4ld] %s\n", (long)getpid(), Level,
56
 
                                (long)time(NULL) - NGIRCd_Start, msg);
 
56
                                (long)(time(NULL) - NGIRCd_Start), msg);
57
57
                fflush(stdout);
58
58
        }
59
59
#ifdef SYSLOG
160
160
 * suitable for the mode ngIRCd is running in (daemon vs. non-daemon).
161
161
 * If LOG_snotice is set, the log messages goes to all user with the mode +s
162
162
 * set and the local &SERVER channel, too.
163
 
 * Please note: you sould use LogDebug(...) for debug messages!
 
163
 * Please note: you should use LogDebug(...) for debug messages!
164
164
 * @param Level syslog level (LOG_xxx)
165
165
 * @param Format Format string like printf().
166
166
 * @param ... Further arguments.