diff options
author | jimw@mysql.com <> | 2005-02-02 08:21:11 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-02-02 08:21:11 -0800 |
commit | 5f0c4ff14026396d4da6cfbfd24bf4012529a74f (patch) | |
tree | f7feeb6b7dbdf2dd8b64422121decec13f0ae311 /vio | |
parent | 4104f160cb9cbe8561ca5f4377dc08009fbf52d8 (diff) | |
parent | 2caee2b3f2aae444db4b75053e980116c7b8b465 (diff) | |
download | mariadb-git-5f0c4ff14026396d4da6cfbfd24bf4012529a74f.tar.gz |
Merge fixes for #8248, #5569.
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viosocket.c | 2 | ||||
-rw-r--r-- | vio/viossl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c index 202d70b6c26..fee97daa943 100644 --- a/vio/viosocket.c +++ b/vio/viosocket.c @@ -276,7 +276,7 @@ void vio_in_addr(Vio *vio, struct in_addr *in) { DBUG_ENTER("vio_in_addr"); if (vio->localhost) - bzero((char*) in, sizeof(*in)); /* This should never be executed */ + bzero((char*) in, sizeof(*in)); else *in=vio->remote.sin_addr; DBUG_VOID_RETURN; diff --git a/vio/viossl.c b/vio/viossl.c index a489cb98f98..07713c83763 100644 --- a/vio/viossl.c +++ b/vio/viossl.c @@ -259,7 +259,7 @@ void vio_ssl_in_addr(Vio *vio, struct in_addr *in) { DBUG_ENTER("vio_ssl_in_addr"); if (vio->localhost) - bzero((char*) in, sizeof(*in)); /* This should never be executed */ + bzero((char*) in, sizeof(*in)); else *in=vio->remote.sin_addr; DBUG_VOID_RETURN; |