diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-14 05:05:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-14 05:05:22 +0000 |
commit | 6aab712cb4220c5a8471ba581c06676af19fae07 (patch) | |
tree | 2f343d11a00563fc5efd4baf81c082f280db4f96 /src/librc/librc.c | |
parent | b054a7251b91e2b95290dfd3760f942186c2d864 (diff) |
strip trailing newlines
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r-- | src/librc/librc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index 436aa47f..0e35c8b8 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -1,9 +1,9 @@ /* - librc + librc core RC functions */ -/* +/* * Copyright 2007-2008 Roy Marples * All rights reserved @@ -71,7 +71,7 @@ static char **ls_dir (const char *dir, int options) char **list = NULL; struct stat buf; - if ((dp = opendir (dir)) == NULL) + if ((dp = opendir (dir)) == NULL) return (NULL); while (((d = readdir (dp)) != NULL)) { @@ -452,7 +452,7 @@ bool rc_service_mark (const char *service, const rc_service_state_t state) state == RC_SERVICE_INACTIVE) { file = rc_strcatpaths (RC_SVCDIR, "exclusive", base, (char *) NULL); - unlink (file); + unlink (file); free (file); } |