]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
Check for internal bugs in frsh_contract_negotiate()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 26 Oct 2009 17:02:24 +0000 (18:02 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 26 Oct 2009 17:02:24 +0000 (18:02 +0100)
fwptester doesn't work properly because this assertion fails. Currently,
I do not know where is exactly the problem.

frsh_api/frsh_contract.c

index 32548bdf7bb0a24162cd287510bc84ae12212461..d5f0e1b94d33305702b35e30e088c7c4ad3db710 100644 (file)
@@ -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);