[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.182 and 1.183

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;

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183

CVSweb <webmaster@jp.NetBSD.org>