summaryrefslogtreecommitdiff
path: root/libmysql/manager.c
diff options
context:
space:
mode:
authorunknown <greg@mysql.com>2004-02-19 14:56:31 -0100
committerunknown <greg@mysql.com>2004-02-19 14:56:31 -0100
commit41a76c7c61b634ddb431dbb50e396d7dd5b5360c (patch)
treedac5b2bf5195c89a4ed956411d5a1f967abe1147 /libmysql/manager.c
parent7f44d1788b93bf925f1cafc69aa2d6b3b8c4b68b (diff)
parent6c1795ee098cb6285610425b9b30ee6ab1caf34b (diff)
downloadmariadb-git-41a76c7c61b634ddb431dbb50e396d7dd5b5360c.tar.gz
Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/bk/mysql-4.0 libmysql/libmysql.c: Auto merged
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;
}