mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
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…
x
Reference in New Issue
Block a user