Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 08ac960

Browse files
committed
revdb: NULL is not a char.
1 parent 87bb66c commit 08ac960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revdb/src/mysql_connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Bool DBConnection_MYSQL::connect(char **args, int numargs)
5858
if (t_delimiter != NULL)
5959
{
6060
t_port_string = (t_delimiter + (1 * sizeof(char)));
61-
*t_delimiter = NULL;
61+
*t_delimiter = '\0';
6262
}
6363

6464
int t_port;

0 commit comments

Comments
 (0)