aboutsummaryrefslogtreecommitdiff
path: root/q.c
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2007-05-23 13:47:31 +0000
committerNed Ludd <solar@gentoo.org>2007-05-23 13:47:31 +0000
commit7664417787f2c5cc3f2492903975f2edd9306b4f (patch)
treef8d308c83a911580416b4f1cb93062d31f7e3c84 /q.c
parent- whitespace cleanups (diff)
downloadportage-utils-7664417787f2c5cc3f2492903975f2edd9306b4f.tar.gz
portage-utils-7664417787f2c5cc3f2492903975f2edd9306b4f.tar.bz2
portage-utils-7664417787f2c5cc3f2492903975f2edd9306b4f.zip
- more whitespace cleanups. Added new whitespace test
Diffstat (limited to 'q.c')
-rw-r--r--q.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/q.c b/q.c
index 61c2a0dd..233964ca 100644
--- a/q.c
+++ b/q.c
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/q.c,v 1.41 2007/05/23 03:22:31 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/q.c,v 1.42 2007/05/23 13:47:31 solar Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -22,7 +22,7 @@ static const char *q_opts_help[] = {
"Module path",
COMMON_OPTS_HELP
};
-static const char q_rcsid[] = "$Id: q.c,v 1.41 2007/05/23 03:22:31 solar Exp $";
+static const char q_rcsid[] = "$Id: q.c,v 1.42 2007/05/23 13:47:31 solar Exp $";
#define q_usage(ret) usage(ret, Q_FLAGS, q_long_opts, q_opts_help, lookup_applet_idx("q"))
#ifndef STATIC
@@ -86,7 +86,7 @@ APPLET lookup_dl_applet(char *applet) {
if ((fp = fopen("/etc/q.conf", "r")) == NULL)
return NULL;
- while((fgets(buf, sizeof(buf), fp)) != NULL) {
+ while ((fgets(buf, sizeof(buf), fp)) != NULL) {
rmspace(buf);
remove_extra_space(buf);
if ((strncmp(buf, "modpath=", 8)) == 0)