summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/misc.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-03-10 22:01:05 +0000
committerderaadt <deraadt@openbsd.org>2005-03-10 22:01:05 +0000
commit96dd1b33be3ae502fbf39f59d448abeddd6894e6 (patch)
tree28791c2a45055b9ab97e480be0a54c536a911040 /usr.bin/ssh/misc.c
parentremove dead code, noted by ho@ (diff)
downloadwireguard-openbsd-96dd1b33be3ae502fbf39f59d448abeddd6894e6.tar.xz
wireguard-openbsd-96dd1b33be3ae502fbf39f59d448abeddd6894e6.zip
spacing
Diffstat (limited to 'usr.bin/ssh/misc.c')
-rw-r--r--usr.bin/ssh/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c
index 70ac5eb4edc..3d3af188288 100644
--- a/usr.bin/ssh/misc.c
+++ b/usr.bin/ssh/misc.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: misc.c,v 1.28 2005/03/01 10:09:52 djm Exp $");
+RCSID("$OpenBSD: misc.c,v 1.29 2005/03/10 22:01:05 deraadt Exp $");
#include "misc.h"
#include "log.h"
@@ -297,13 +297,13 @@ hpdelim(char **cp)
case '\0':
*cp = NULL; /* no more fields*/
break;
-
+
case ':':
case '/':
*s = '\0'; /* terminate */
*cp = s + 1;
break;
-
+
default:
return NULL;
}
@@ -385,7 +385,7 @@ read_keyfile_line(FILE *f, const char *filename, char *buf, size_t bufsz,
debug("%s: %s line %lu exceeds size limit", __func__,
filename, *lineno);
/* discard remainder of line */
- while(fgetc(f) != '\n' && !feof(f))
+ while (fgetc(f) != '\n' && !feof(f))
; /* nothing */
}
}