Product Documentation

c-treeACE V10.0 Release Notes

Previous Topic

Next Topic

Corrected Data Length of CTUSER() Custom Output Data

An output data length set by the CTUSER() function did not limit the amount of data returned to the client. Recently applied CTUSER() changes resulted in the output length set by CTUSER() to have no effect on the amount of data returned to the client. This is because the communication buffer was set to NULL before calling CTUSER().

To resolve this, the internal name of the CTUSER() function was changed in ctsctu_a.c to iCTUSER() and a parameter was added that is a pointer to the output length. iCTUSER() returns the output length in this parameter and logic was added to return a proper length of data.

TOCIndex