summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-06 23:37:32 -0500
committerDan McGee <dan@archlinux.org>2011-12-12 12:51:59 -0600
commit3d4656c0204956847a62c95b0f28747d7a0c2c05 (patch)
tree8263b85a03d387a6911748d763fdd1e8235248d7 /lib/libalpm/deps.c
parent5f0df423033c94e8ae52ca642284bf6a50fa9bbb (diff)
downloadpacman-3d4656c0204956847a62c95b0f28747d7a0c2c05.tar.xz
code syntax cleanup
As per HACKING file, we use 'CTRL(' rather than 'CTRL (' Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 89f6d691..9f7e9028 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -395,7 +395,7 @@ int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep)
/* any version will satisfy the requirement */
satisfy = (provision->name_hash == dep->name_hash
&& strcmp(provision->name, dep->name) == 0);
- } else if (provision->mod == ALPM_DEP_MOD_EQ) {
+ } else if(provision->mod == ALPM_DEP_MOD_EQ) {
/* provision specifies a version, so try it out */
satisfy = (provision->name_hash == dep->name_hash
&& strcmp(provision->name, dep->name) == 0