diff options
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 | } |