summaryrefslogtreecommitdiff
path: root/sql/hostname.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/hostname.h')
-rw-r--r--sql/hostname.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.h b/sql/hostname.h
index 81a1d0de88d..d6137b7c260 100644
--- a/sql/hostname.h
+++ b/sql/hostname.h
@@ -168,7 +168,7 @@ extern ulong host_cache_size;
#define RC_BLOCKED_HOST 1
int ip_to_hostname(struct sockaddr_storage *ip_storage,
const char *ip_string,
- char **hostname, uint *connect_errors);
+ const char **hostname, uint *connect_errors);
void inc_host_errors(const char *ip_string, Host_errors *errors);
void reset_host_connect_errors(const char *ip_string);