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 /dh.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 'dh.c')
-rw-r--r-- | dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: dh.c,v 1.6 2001/01/21 19:05:49 markus Exp $"); | 26 | RCSID("$OpenBSD: dh.c,v 1.7 2001/03/04 17:42:28 millert Exp $"); |
27 | 27 | ||
28 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
29 | 29 | ||
@@ -90,7 +90,7 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg) | |||
90 | 90 | ||
91 | return (1); | 91 | return (1); |
92 | fail: | 92 | fail: |
93 | error("Bad prime description in line %d\n", linenum); | 93 | error("Bad prime description in line %d", linenum); |
94 | return (0); | 94 | return (0); |
95 | } | 95 | } |
96 | 96 | ||