diff options
author | unknown <monty@mashka.mysql.fi> | 2004-02-20 17:58:34 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2004-02-20 17:58:34 +0200 |
commit | 5db8fc5c27449ce383d5b6a99206645f8fb70412 (patch) | |
tree | 944553bf97c3f911900524298f3c4622d8f3e547 /libmysql | |
parent | 9bc5cdba41a0d2bc3c391469b14168f82e636a6b (diff) | |
download | mariadb-git-5db8fc5c27449ce383d5b6a99206645f8fb70412.tar.gz |
Added missing argument to strxnmov() (Applies for windows debug mode)
libmysql/libmysql.c:
Added missing argument to strxnmov()
Diffstat (limited to 'libmysql')
-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 |