From: curt Date: Tue, 26 Sep 2000 21:28:46 +0000 (+0000) Subject: Oops! fixed a typo ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=453a53b37212f16c4ddc79d068f3c878cae29959;p=simgear.git Oops! fixed a typo ... --- diff --git a/simgear/io/sg_socket.cxx b/simgear/io/sg_socket.cxx index 202aebfc..43401357 100644 --- a/simgear/io/sg_socket.cxx +++ b/simgear/io/sg_socket.cxx @@ -156,7 +156,7 @@ SGSocket::SocketType SGSocket::make_client_socket () { // Wrapper functions -size_t readsocket( int fd, void *buf, size_t count ) { +size_t SGSocket::readsocket( int fd, void *buf, size_t count ) { #if defined(_MSC_VER) return ::recv( fd, buf, count, 0 ); #else @@ -164,7 +164,7 @@ size_t readsocket( int fd, void *buf, size_t count ) { #endif } -size_t writesocket( int fd, const void *buf, size_t count ) { +size_t SGSocket::writesocket( int fd, const void *buf, size_t count ) { #if defined(_MSC_VER) return ::send( fd, buf, count, 0 ); #else @@ -173,7 +173,7 @@ size_t writesocket( int fd, const void *buf, size_t count ) { } #if !defined(_MSC_VER) -int closesocket( int fd ) { +int SGSocket::closesocket( int fd ) { return ::close( fd ); } #endif