This commit is contained in:
Paul Reeves 2023-01-24 15:59:51 +01:00
parent ef3462cbe2
commit 62e5d3e282

View File

@ -143,7 +143,7 @@ FB_UDR_BEGIN_FUNCTION(MFK_flagged)
// if ( flags == NULL ) { // if ( flags == NULL ) {
// return 0; // return 0;
// } // }
if ( in->flagsNull ) { if ( in->flagsNull != 0 ) {
out->resultNull = FB_TRUE; out->resultNull = FB_TRUE;
out->result = 0; out->result = 0;
} }
@ -182,7 +182,7 @@ FB_UDR_MESSAGE(OutMessage,
FB_UDR_EXECUTE_FUNCTION FB_UDR_EXECUTE_FUNCTION
{ {
// Test Input // Test Input
if (in->afilenameNull || in->ablobcallbackNull /* || in->ablobcallback.blob_handle == NULL */ ) { if ((in->afilenameNull != 0) || in->ablobcallbackNull != 0 /* || in->ablobcallback.blob_handle == NULL */ ) {
out->resultNull = FB_TRUE; out->resultNull = FB_TRUE;
out->result = 0; out->result = 0;
} }