fix assertion

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@883 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2009-11-18 19:23:40 +00:00
parent 0b75f2de27
commit e909bac500
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ OZ_DECLARE_DATA zap_logger_t zap_log = null_logger;
OZ_DECLARE(void) zap_global_set_crash_policy(zap_crash_policy_t policy)
{
g_zap_crash_policy = policy;
g_zap_crash_policy |= policy;
}
OZ_DECLARE(zap_status_t) zap_global_set_memory_handler(zap_memory_handler_t *handler)

View File

@ -239,7 +239,7 @@ OZ_DECLARE(zap_status_t) zap_condition_create(zap_condition_t **incondition, zap
{
zap_condition_t *condition = NULL;
zap_assert(condition != NULL, ZAP_FAIL, "Condition double pointer is null!\n");
zap_assert(incondition != NULL, ZAP_FAIL, "Condition double pointer is null!\n");
zap_assert(mutex != NULL, ZAP_FAIL, "Mutex for condition must not be null!\n");
condition = zap_calloc(1, sizeof(*condition));