diff options
author | unknown <lenz@mysql.com> | 2005-05-06 00:16:33 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2005-05-06 00:16:33 +0200 |
commit | 0bd7e5f97b442f573ceaeffbf3360ff024b8dc51 (patch) | |
tree | 6870fa946113fea24ce9741868c6b4407427c3f5 /sql/hostname.cc | |
parent | c758512a9176b40532f8431e7771f8dbeed77111 (diff) | |
download | mariadb-git-0bd7e5f97b442f573ceaeffbf3360ff024b8dc51.tar.gz |
- fixed typo in variable name that caused compile errors on many platforms (tmp_error -> tmp_errno)
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r-- | sql/hostname.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc index fe2fad6f3b2..47960275e3a 100644 --- a/sql/hostname.cc +++ b/sql/hostname.cc @@ -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 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); my_gethostbyname_r_free(); DBUG_RETURN(0); |