From: Michal Sojka Date: Mon, 26 Oct 2009 17:02:24 +0000 (+0100) Subject: Check for internal bugs in frsh_contract_negotiate() X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/frsh.git/commitdiff_plain/c2822d1cb34d06a35208a6d6394678cdc2d8161a Check for internal bugs in frsh_contract_negotiate() fwptester doesn't work properly because this assertion fails. Currently, I do not know where is exactly the problem. --- diff --git a/frsh_api/frsh_contract.c b/frsh_api/frsh_contract.c index 32548bd..d5f0e1b 100644 --- a/frsh_api/frsh_contract.c +++ b/frsh_api/frsh_contract.c @@ -377,6 +377,7 @@ int frsh_contract_negotiate if (ret == 0) { assert(ids->_length == 1); *vres = fra_get_vres(&ids->_buffer[0]); + assert(*vres != NULL); } if (CORBA_sequence_get_release(ids)) CORBA_free(ids->_buffer);