[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.185 and 1.186

version 1.185, 2009/01/21 06:59:29 version 1.186, 2009/01/23 15:40:19
Line 1692  sosetopt1(struct socket *so, const struc
Line 1692  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)                  if (error) {
                           solock(so);
                         break;                          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.185  
changed lines
  Added in v.1.186

CVSweb <webmaster@jp.NetBSD.org>