aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-06-21 21:12:48 +0000
committerJeff Johnson <jbj@redhat.com>1998-06-21 21:12:48 +0000
commit08d59fa7913d46b8d1a52499b5c1a7983e635bc7 (patch)
tree4ad188e964ecb8d11ded900c45d30538b92070e8 /src
parentf0544294be49dfabb0e18bd514a2f25375f15c67 (diff)
downloadinitscripts-08d59fa7913d46b8d1a52499b5c1a7983e635bc7.tar
initscripts-08d59fa7913d46b8d1a52499b5c1a7983e635bc7.tar.gz
initscripts-08d59fa7913d46b8d1a52499b5c1a7983e635bc7.tar.bz2
initscripts-08d59fa7913d46b8d1a52499b5c1a7983e635bc7.tar.xz
initscripts-08d59fa7913d46b8d1a52499b5c1a7983e635bc7.zip
Fix bug track problems (#677, #731, #734, E-mail).
Diffstat (limited to 'src')
-rw-r--r--src/usernetctl.c2
1 files changed, 1 insertions, 1 deletions
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)) {