Skip to content

Commit

Permalink
Add missing arg
Browse files Browse the repository at this point in the history
  • Loading branch information
lurcher committed Dec 11, 2024
1 parent 93b0d9d commit ef5d066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DriverManager/__info.c
Original file line number Diff line number Diff line change
Expand Up @@ -4746,7 +4746,7 @@ void extract_diag_error_w( int htype,
#ifdef STRICT_ODBC_ERROR
wide_strcpy( msg, msg1 );
#else
tmp = ansi_to_unicode_alloc((SQLCHAR*) ERROR_PREFIX, SQL_NTS, connection );
tmp = ansi_to_unicode_alloc((SQLCHAR*) ERROR_PREFIX, SQL_NTS, connection, NULL );
wide_strcpy( msg, tmp );
free( tmp );
wide_strcat( msg, msg1 );
Expand Down

0 comments on commit ef5d066

Please sign in to comment.