diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2003-11-20 17:40:16 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2003-11-20 17:40:16 +0000 |
commit | 57380fca623c1cf52e02f26a7460173fe9c4e025 (patch) | |
tree | 65bdef45539dff548afeb0cccb5bffae4aa660fb /network_io/win32 | |
parent | cfe9fb9cfac0be88272db1d30305d889a228a247 (diff) | |
download | apr-57380fca623c1cf52e02f26a7460173fe9c4e025.tar.gz |
Getting closer to 1.0 - eliminate APR_SO_TIMEOUT and replace
various tests with (sock->timeout > 0).
Also mop up some very hard to read statements by liberally
applying parens.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64778 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/win32')
-rw-r--r-- | network_io/win32/sockopt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/network_io/win32/sockopt.c b/network_io/win32/sockopt.c index a147ace64..bcb5822eb 100644 --- a/network_io/win32/sockopt.c +++ b/network_io/win32/sockopt.c @@ -133,11 +133,6 @@ APR_DECLARE(apr_status_t) apr_socket_opt_set(apr_socket_t *sock, one = on ? 1 : 0; switch (opt) { - case APR_SO_TIMEOUT: - { - /* XXX: To be deprecated */ - return apr_socket_timeout_set(sock, on); - } case APR_SO_KEEPALIVE: if (on != apr_is_option_set(sock, APR_SO_KEEPALIVE)) { if (setsockopt(sock->socketdes, SOL_SOCKET, SO_KEEPALIVE, @@ -243,10 +238,6 @@ APR_DECLARE(apr_status_t) apr_socket_opt_get(apr_socket_t *sock, apr_int32_t opt, apr_int32_t *on) { switch (opt) { - case APR_SO_TIMEOUT: - /* XXX: to be deprecated */ - *on = (apr_int32_t)sock->timeout; - break; case APR_SO_DISCONNECTED: *on = sock->disconnected; break; |