Commit f816e510 authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Added missing argument to strxnmov() (Applies for windows debug mode)

parent e1fee022
......@@ -696,7 +696,8 @@ mysql_debug(const char *debug __attribute__((unused)))
#else
{
char buff[80];
strxnmov(buff,sizeof(buff),"libmysql: ", env);
buff[sizeof(buff)-1]= 0;
strxnmov(buff,sizeof(buff)-1,"libmysql: ", env, NullS);
MessageBox((HWND) 0,"Debugging variable MYSQL_DEBUG used",buff,MB_OK);
}
#endif
......
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