From b3c0ae5205ee9615af077ff00b1a01be3aab4eb6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 29 Aug 2011 20:46:28 -0400 Subject: pacsort: use boolean, not binary OR operation Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- src/util/pacsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2