diff options
author | unknown <serg@serg.mylan> | 2005-03-29 23:31:56 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-03-29 23:31:56 +0200 |
commit | 3e2f7ed4f5e7d1611a074fac306419cfb4ad0cf4 (patch) | |
tree | c853a7b01b4fb3332559f5793b7e18566e56b81f /vio/test-sslclient.c | |
parent | ce3253cfd1a010d103eb9a6ca42fb65fa6667b9d (diff) | |
download | mariadb-git-3e2f7ed4f5e7d1611a074fac306419cfb4ad0cf4.tar.gz |
Fedora now defines read(2)/write(2) as macros.
Argh!
Diffstat (limited to 'vio/test-sslclient.c')
-rw-r--r-- | vio/test-sslclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vio/test-sslclient.c b/vio/test-sslclient.c index 231ce056d8c..3811ba0fb6a 100644 --- a/vio/test-sslclient.c +++ b/vio/test-sslclient.c @@ -77,13 +77,13 @@ main( int argc __attribute__((unused)), sa.sin_port = htons (1111); /* Server Port number */ err = connect(client_vio->sd, (struct sockaddr*) &sa, - sizeof(sa)); + sizeof(sa)); /* ----------------------------------------------- */ /* Now we have TCP conncetion. Start SSL negotiation. */ read(client_vio->sd,xbuf, sizeof(xbuf)); sslconnect(ssl_connector,client_vio,60L); - err = client_vio->read(client_vio,xbuf, sizeof(xbuf)); + err = vio_read(client_vio,xbuf, sizeof(xbuf)); if (err<=0) { my_free((gptr)ssl_connector,MYF(0)); fatal_error("client:SSL_read"); |