| version 1.182, 2009/01/15 15:25:37 |
version 1.183, 2009/01/15 15:29:10 |
| Line 1690 sosetopt1(struct socket *so, const struc |
|
| Line 1690 sosetopt1(struct socket *so, const struc |
|
| case SO_ORCVTIMEO: { |
case SO_ORCVTIMEO: { |
| struct timeval50 otv; |
struct timeval50 otv; |
| error = sockopt_get(sopt, &otv, sizeof(otv)); |
error = sockopt_get(sopt, &otv, sizeof(otv)); |
| |
if (error) |
| |
break; |
| timeval50_to_timeval(&otv, &tv); |
timeval50_to_timeval(&otv, &tv); |
| opt = opt == SO_OSNDTIMEO ? SO_SNDTIMEO : SO_RCVTIMEO; |
opt = opt == SO_OSNDTIMEO ? SO_SNDTIMEO : SO_RCVTIMEO; |
| error = 0; |
error = 0; |