summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/pacsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index 77edda7a..2b12f097 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -129,7 +129,7 @@ static int list_grow(struct list_t *list)
static int list_add(struct list_t *list, char *name)
{
- if(!list|!name) {
+ if(!list || !name) {
return 1;
}