diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:46:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:46:56 +0000 |
commit | 4cc240dabbd81a308f06f2717b1942041fe0e205 (patch) | |
tree | 07291c8c2c467fc2ecec9166ed0d8ec1e75631a3 /log.c | |
parent | 5bf5d67d497ed91c19851db6b904d54003afe67e (diff) |
- markus@cvs.openbsd.org 2001/06/26 17:27:25
[authfd.h authfile.h auth.h auth-options.h bufaux.h buffer.h
canohost.h channels.h cipher.h clientloop.h compat.h compress.h
crc32.h deattack.h dh.h dispatch.h groupaccess.c groupaccess.h
hostfile.h kex.h key.h log.c log.h mac.h misc.c misc.h mpaux.h
packet.h radix.h readconf.h readpass.h rsa.h servconf.h serverloop.h
session.h sftp-common.c sftp-common.h sftp-glob.h sftp-int.h
sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h sshtty.h
tildexpand.h uidswap.h uuencode.h xmalloc.h]
remove comments from .h, since they are cut&paste from the .c files
and out of sync
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -34,7 +34,7 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include "includes.h" | 36 | #include "includes.h" |
37 | RCSID("$OpenBSD: log.c,v 1.17 2001/03/04 17:42:28 millert Exp $"); | 37 | RCSID("$OpenBSD: log.c,v 1.18 2001/06/26 17:27:23 markus Exp $"); |
38 | 38 | ||
39 | #include "log.h" | 39 | #include "log.h" |
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
@@ -88,6 +88,8 @@ static struct { | |||
88 | { NULL, 0 } | 88 | { NULL, 0 } |
89 | }; | 89 | }; |
90 | 90 | ||
91 | static void do_log(LogLevel level, const char *fmt, va_list args); | ||
92 | |||
91 | SyslogFacility | 93 | SyslogFacility |
92 | log_facility_number(char *name) | 94 | log_facility_number(char *name) |
93 | { | 95 | { |
@@ -326,7 +328,7 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
326 | 328 | ||
327 | #define MSGBUFSIZ 1024 | 329 | #define MSGBUFSIZ 1024 |
328 | 330 | ||
329 | void | 331 | static void |
330 | do_log(LogLevel level, const char *fmt, va_list args) | 332 | do_log(LogLevel level, const char *fmt, va_list args) |
331 | { | 333 | { |
332 | char msgbuf[MSGBUFSIZ]; | 334 | char msgbuf[MSGBUFSIZ]; |