diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 18:00:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 18:00:18 +0000 |
commit | 1c37c6a51842f8bed3283ef18ec16cf6a0ae8640 (patch) | |
tree | e17ea7a703397ef0b7f7c76d668bb5ac0d4f4fec /misc.c | |
parent | 3c36bb29ca67d459ef9d8c1961415d77efc20e55 (diff) |
- deraadt@cvs.openbsd.org 2001/12/05 10:06:12
[authfd.c authfile.c bufaux.c channels.c compat.c kex.c kexgex.c
key.c misc.c packet.c servconf.c ssh-agent.c sshconnect2.c
sshconnect.c sshd.c ssh-dss.c ssh-keygen.c ssh-rsa.c]
minor KNF
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.12 2001/06/26 17:27:24 markus Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.13 2001/12/05 10:06:12 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: misc.c,v 1.12 2001/06/26 17:27:24 markus Exp $"); | 28 | RCSID("$OpenBSD: misc.c,v 1.13 2001/12/05 10:06:12 deraadt Exp $"); |
29 | 29 | ||
30 | #include "misc.h" | 30 | #include "misc.h" |
31 | #include "log.h" | 31 | #include "log.h" |
@@ -37,7 +37,7 @@ chop(char *s) | |||
37 | { | 37 | { |
38 | char *t = s; | 38 | char *t = s; |
39 | while (*t) { | 39 | while (*t) { |
40 | if(*t == '\n' || *t == '\r') { | 40 | if (*t == '\n' || *t == '\r') { |
41 | *t = '\0'; | 41 | *t = '\0'; |
42 | return s; | 42 | return s; |
43 | } | 43 | } |