diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 07:47:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 07:47:23 +0000 |
commit | 6df8ef4196f1287d4c328f09ea7f8c0995e0cab1 (patch) | |
tree | c4d4da3f9a84099838388a6070c7cdc675c27155 /channels.c | |
parent | fafea18d68f3d1a4ea412ff4618fd66c1a05b548 (diff) |
- millert@cvs.openbsd.org 2001/03/04 17:42:28
[authfd.c channels.c dh.c log.c readconf.c servconf.c sftp-int.c
ssh.c sshconnect.c sshd.c]
log functions should not be passed strings that end in newline as they
get passed on to syslog() and when logging to stderr, do_log() appends
its own newline.
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c index 1d74efe0c..bb872dc94 100644 --- a/channels.c +++ b/channels.c | |||
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: channels.c,v 1.97 2001/03/04 00:03:59 markus Exp $"); | 43 | RCSID("$OpenBSD: channels.c,v 1.98 2001/03/04 17:42:28 millert Exp $"); |
44 | 44 | ||
45 | #include <openssl/rsa.h> | 45 | #include <openssl/rsa.h> |
46 | #include <openssl/dsa.h> | 46 | #include <openssl/dsa.h> |
@@ -521,7 +521,7 @@ channel_pre_x11_open_13(Channel *c, fd_set * readset, fd_set * writeset) | |||
521 | * We have received an X11 connection that has bad | 521 | * We have received an X11 connection that has bad |
522 | * authentication information. | 522 | * authentication information. |
523 | */ | 523 | */ |
524 | log("X11 connection rejected because of wrong authentication.\r\n"); | 524 | log("X11 connection rejected because of wrong authentication."); |
525 | buffer_clear(&c->input); | 525 | buffer_clear(&c->input); |
526 | buffer_clear(&c->output); | 526 | buffer_clear(&c->output); |
527 | close(c->sock); | 527 | close(c->sock); |