summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-03-04 17:42:27 +0000
committermillert <millert@openbsd.org>2001-03-04 17:42:27 +0000
commit1b49324a9139e7dd36399913557482a3fb760af8 (patch)
tree0a56f331f9ad9660d5661b42bf8d5fd9c22cd23a /usr.bin/ssh/channels.c
parentavoid possible align issue. sync with kame (diff)
downloadwireguard-openbsd-1b49324a9139e7dd36399913557482a3fb760af8.tar.xz
wireguard-openbsd-1b49324a9139e7dd36399913557482a3fb760af8.zip
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 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 9171a06d97c..5689e8f1057 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.97 2001/03/04 00:03:59 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.98 2001/03/04 17:42:28 millert Exp $");
#include <openssl/rsa.h>
#include <openssl/dsa.h>
@@ -521,7 +521,7 @@ channel_pre_x11_open_13(Channel *c, fd_set * readset, fd_set * writeset)
* We have received an X11 connection that has bad
* authentication information.
*/
- log("X11 connection rejected because of wrong authentication.\r\n");
+ log("X11 connection rejected because of wrong authentication.");
buffer_clear(&c->input);
buffer_clear(&c->output);
close(c->sock);