summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-05-06 00:16:33 +0200
committerlenz@mysql.com <>2005-05-06 00:16:33 +0200
commit7550b0b4ead43a626f5e712d981aab065f832603 (patch)
tree6870fa946113fea24ce9741868c6b4407427c3f5 /sql/hostname.cc
parent15dbab1c12571fe59f7ae2f5c7e7689b6f07cc17 (diff)
downloadmariadb-git-7550b0b4ead43a626f5e712d981aab065f832603.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.cc2
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);