index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Rémy Oudompheng <remy@archlinux.org> | 2011-04-09 13:31:15 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-09 15:24:05 -0500 |
commit | a479e0300baf48781d145e204e11a20059ad4caa (patch) | |
tree | c70b9922a7f80a7e03513d948f1a7e42aec48b0e /lib | |
parent | f8882839103442787c49b8021cfd8ae2784211ad (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 4 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 4b29f9a8..08856d07 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -465,8 +465,8 @@ cleanup: int SYMEXPORT alpm_trans_get_flags() { /* Sanity checks */ - ASSERT(handle != NULL, return(-1)); - ASSERT(handle->trans != NULL, return(-1)); + ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1)); + ASSERT(handle->trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); return handle->trans->flags; } |