aboutsummaryrefslogtreecommitdiffstats
path: root/src/package.c
diff options
context:
space:
mode:
authorJason Woodward2008-12-14 00:42:49 +0000
committerJason Woodward2008-12-14 00:42:49 +0000
commitb95f02c06cbd498a5a21cffeea7ebee089bf05ff (patch)
treea14b90e90b1f3b5f2f8e46e15bd0fe8fc4a3715c /src/package.c
parent4cca93390202b6f9667c1bd8453ac83c8d7fbfc7 (diff)
downloadslapt-get-b95f02c06cbd498a5a21cffeea7ebee089bf05ff.tar.gz
formatting update
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/package.c b/src/package.c
index b8e64f4..8f3a759 100644
--- a/src/package.c
+++ b/src/package.c
@@ -1854,10 +1854,11 @@ slapt_pkg_info_t *slapt_get_pkg_by_details(struct slapt_pkg_list *list,
int location_cmp = strcmp(list->pkgs[pivot]->location, location);
- if ( location_cmp == 0 )
+ if ( location_cmp == 0 ) {
+
return list->pkgs[pivot];
- else {
+ } else {
if (location_cmp < 0 )
min = pivot + 1;