Commit 5db8fc5c authored by unknown's avatar unknown

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


libmysql/libmysql.c:
  Added missing argument to strxnmov()
parent 9bc5cdba
...@@ -696,7 +696,8 @@ mysql_debug(const char *debug __attribute__((unused))) ...@@ -696,7 +696,8 @@ mysql_debug(const char *debug __attribute__((unused)))
#else #else
{ {
char buff[80]; 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); MessageBox((HWND) 0,"Debugging variable MYSQL_DEBUG used",buff,MB_OK);
} }
#endif #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