diff options
author | monty@mashka.mysql.fi <> | 2003-04-28 19:05:57 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-04-28 19:05:57 +0300 |
commit | e741c893eaa7593161e55ded869557199df50fc7 (patch) | |
tree | 96d5e3ccb7f58564a76e77f8eb11b497988864dc /include/violite.h | |
parent | 252ba8aa61f14916471f68004967f928f3f63c66 (diff) | |
download | mariadb-git-e741c893eaa7593161e55ded869557199df50fc7.tar.gz |
Fix to remove compiler warnings
Diffstat (limited to 'include/violite.h')
-rw-r--r-- | include/violite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/violite.h b/include/violite.h index a328e51253a..d20fab23239 100644 --- a/include/violite.h +++ b/include/violite.h @@ -148,7 +148,7 @@ my_bool vio_ssl_should_retry(Vio* vio); int vio_ssl_close(Vio* vio); /* Return last error number */ int vio_ssl_errno(Vio *vio); -my_bool vio_ssl_peer_addr(Vio* vio, char *buf); +my_bool vio_ssl_peer_addr(Vio* vio, char *buf, uint16 *port); void vio_ssl_in_addr(Vio *vio, struct in_addr *in); int vio_ssl_blocking(Vio * vio, my_bool set_blocking_mode, my_bool *old_mode); @@ -224,7 +224,7 @@ struct st_vio my_bool (*is_blocking)(Vio*); int (*viokeepalive)(Vio*, my_bool); int (*fastsend)(Vio*); - my_bool (*peer_addr)(Vio*, gptr, uint16*); + my_bool (*peer_addr)(Vio*, char *, uint16*); void (*in_addr)(Vio*, struct in_addr*); my_bool (*should_retry)(Vio*); int (*vioclose)(Vio*); |