diff options
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r-- | sql/hostname.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc index 32c4bb8533d..c5c337080cf 100644 --- a/sql/hostname.cc +++ b/sql/hostname.cc @@ -140,10 +140,10 @@ my_string ip_to_hostname(struct in_addr *in, uint *errors) uint i; host_entry *entry; DBUG_ENTER("ip_to_hostname"); - *errors= 0; + *errors=0; /* We always treat the loopback address as "localhost". */ - if (in->s_addr == htonl(INADDR_LOOPBACK)) + if (in->s_addr == htonl(INADDR_LOOPBACK)) // is expanded inline by gcc DBUG_RETURN((char *)my_localhost); /* Check first if we have name in cache */ |