X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2F_PDCLIB%2Fassert.c;h=fbee63404eb97417ea59fcf0cb97cb6b34c04713;hp=ed56fc60727d61a4639a2f72e1509e16fb98ed2d;hb=55cf35957bf8dec0a489ba758c02c83303a5eb50;hpb=4340db942a3f1dc39724c1f05264d38586bc062a diff --git a/functions/_PDCLIB/assert.c b/functions/_PDCLIB/assert.c index ed56fc6..fbee634 100644 --- a/functions/_PDCLIB/assert.c +++ b/functions/_PDCLIB/assert.c @@ -45,7 +45,7 @@ static int UNEXPECTED_ABORT = 1; static void aborthandler( int sig ) { TESTCASE( ! EXPECTED_ABORT ); - exit( (signed int)rc ); + exit( (signed int)TEST_RESULTS ); } #define NDEBUG