pacsort: use boolean, not binary OR operation
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
7480df68ce
commit
b3c0ae5205
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue