diff options
Diffstat (limited to 'libmysql/manager.c')
-rw-r--r-- | libmysql/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/manager.c b/libmysql/manager.c index ddf9b6c1010..f1c8d045e6c 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; } |