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:
Dave Reisner 2011-08-29 20:46:28 -04:00 committed by Dan McGee
parent 7480df68ce
commit b3c0ae5205
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}