From 08d59fa7913d46b8d1a52499b5c1a7983e635bc7 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 21 Jun 1998 21:12:48 +0000 Subject: Fix bug track problems (#677, #731, #734, E-mail). --- src/usernetctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usernetctl.c') diff --git a/src/usernetctl.c b/src/usernetctl.c index bad10c96..0a8011eb 100644 --- a/src/usernetctl.c +++ b/src/usernetctl.c @@ -87,7 +87,7 @@ int userCtl(char * file) { chptr = contents; while (*chptr != '\n') chptr++; end = chptr + 1; - while (chptr > contents && isspace(*chptr)) chptr--; + while (chptr >= contents && isspace(*chptr)) chptr--; *(++chptr) = '\0'; if (!strncmp(contents, "USERCTL=", 8)) { -- cgit v1.2.1