Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=aaeec66a465e5a6b57722d6d39bc4035a6cc66a8
commit aaeec66a465e5a6b57722d6d39bc4035a6cc66a8 Author: Michel Hermier <[email protected]> Date: Thu Apr 24 08:18:17 2014 +0200 libpacman: Fix some typos. diff --git a/lib/libpacman/object.c b/lib/libpacman/object.c index d7de36d..4c4ac6b 100644 --- a/lib/libpacman/object.c +++ b/lib/libpacman/object.c @@ -89,7 +89,7 @@ struct __pmobject_t *_pacman_objectmemory_alloc(size_t size, const struct __pmob struct __pmobject_t *ret; ASSERT(size >= sizeof(*ret), RET_ERR(PM_ERR_WRONG_ARGS, NULL)); - ASSERT(operations == NULL, RET_ERR(PM_ERR_WRONG_ARGS, NULL)); + ASSERT(operations != NULL, RET_ERR(PM_ERR_WRONG_ARGS, NULL)); if((ret = f_zalloc(size)) != NULL) { ret->operations = operations; diff --git a/lib/libpacman/object.h b/lib/libpacman/object.h index 8cd8f68..0d73b18 100644 --- a/lib/libpacman/object.h +++ b/lib/libpacman/object.h @@ -38,7 +38,7 @@ struct __pmobject_t { const struct __pmobject_operations_t *operations; - struct __pmobject_private *object_private; + struct __pmobject_private_t *object_private; }; int _pacman_object_delete(struct __pmobject_t *self); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
