diff options
author | monty@mashka.mysql.fi <> | 2004-02-20 17:58:34 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2004-02-20 17:58:34 +0200 |
commit | f816e51096d7c920504d4a3d0adff74cd9684917 (patch) | |
tree | 944553bf97c3f911900524298f3c4622d8f3e547 | |
parent | e1fee022fa10fc0cceafbd774441d70311e10434 (diff) | |
download | mariadb-git-f816e51096d7c920504d4a3d0adff74cd9684917.tar.gz |
Added missing argument to strxnmov() (Applies for windows debug mode)
-rw-r--r-- | libmysql/libmysql.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index febae456fb2..f86435712dc 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -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 |