summaryrefslogtreecommitdiff
path: root/libmysql/manager.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-19 09:11:46 +0100
committerunknown <serg@serg.mylan>2004-02-19 09:11:46 +0100
commitddf17601f3db71fc7bd8531fcbe3b3222e58e87e (patch)
treebe8ef133c8fd7008e97a8ce6fc64816e34258ec5 /libmysql/manager.c
parent65ec6a41b65f26552481be24ac8947c83eeea198 (diff)
downloadmariadb-git-ddf17601f3db71fc7bd8531fcbe3b3222e58e87e.tar.gz
potential problem fixed afer some reasoning
Diffstat (limited to 'libmysql/manager.c')
-rw-r--r--libmysql/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/manager.c b/libmysql/manager.c
index 1a4ac718ef9..5d432848f7b 100644
--- a/libmysql/manager.c
+++ b/libmysql/manager.c
@@ -133,7 +133,7 @@ MYSQL_MANAGER* STDCALL mysql_manager_connect(MYSQL_MANAGER* con,
if (!hp)
{
con->last_errno=tmp_errno;
- sprintf(con->last_error,"Could not resolve host '%s'",host);
+ sprintf(con->last_error,"Could not resolve host '%-.64s'",host);
my_gethostbyname_r_free();
goto err;
}