Commit 7550b0b4 authored by lenz@mysql.com's avatar lenz@mysql.com

- fixed typo in variable name that caused compile errors on many platforms (tmp_error -> tmp_errno)

parent 15dbab1c
...@@ -183,7 +183,7 @@ my_string ip_to_hostname(struct in_addr *in, uint *errors) ...@@ -183,7 +183,7 @@ my_string ip_to_hostname(struct in_addr *in, uint *errors)
that attempted to connect during the outage) unable to connect that attempted to connect during the outage) unable to connect
indefinitely. indefinitely.
*/ */
if (tmp_errno == HOST_NOT_FOUND || tmp_error == NO_DATA) if (tmp_errno == HOST_NOT_FOUND || tmp_errno == NO_DATA)
add_wrong_ip(in); add_wrong_ip(in);
my_gethostbyname_r_free(); my_gethostbyname_r_free();
DBUG_RETURN(0); DBUG_RETURN(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment