Update for 5.1 format of dirname_part

parent d376c3da
......@@ -1562,8 +1562,8 @@ void check_result(DYNAMIC_STRING* ds)
Result mismatched, dump results to .reject file
and then show the diff
*/
char reject_file[FN_REFLEN];
dirname_part(reject_file, result_file_name);
char reject_file[FN_REFLEN], reject_length;
dirname_part(reject_file, result_file_name, &reject_length);
if (access(reject_file, W_OK) == 0)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment