[Spread-cvs] cvs commit: spread/daemon arch.c

jonathan at spread.org jonathan at spread.org
Tue Feb 5 13:29:03 EST 2002


jonathan    02/02/05 13:29:02

  Modified:    daemon   arch.c
  Log:
  Added missing }.
  
  Revision  Changes    Path
  1.3       +5 -3      spread/daemon/arch.c
  
  Index: arch.c
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/arch.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- arch.c	5 Feb 2002 02:37:39 -0000	1.2
  +++ arch.c	5 Feb 2002 18:29:01 -0000	1.3
  @@ -81,7 +81,8 @@
           case WSAENOTSOCK:
               return "WSAENOTSOCK: The descriptor is not a socket.";
           case WSAEOPNOTSUPP:
  -            return "WSAEOPNOTSUPP: MSG_OOB was specified, but the socket is not stream-style such as type SOCK_STREAM, out-of-band data is not supported in the communication domain associated with this socket, or the socket is unidirectional and supports only receive operations.";
  +            return "WSAEOPNOTSUPP: MSG_OOB was specified, but the socket is not stream-style such as type SOCK_STREAM, out-of-band data is not supported in the communication domain associated with this socket, or the socket is unidirectional and supports 
  +only receive operations.";
           case WSAESHUTDOWN:
               return "WSAESHUTDOWN The socket has been shut down; it is not possible to send on a socket after shutdown has been invoked with how set to SD_SEND or SD_BOTH.";
           case WSAEWOULDBLOCK:
  @@ -95,12 +96,13 @@
           case WSAECONNABORTED:
               return "WSAECONNABORTED: The virtual circuit was terminated due to a time-out or other failure. The application should close the socket as it is no longer usable.";
           case WSAECONNRESET:
  -            return "WSAECONNRESET: The virtual circuit was reset by the remote side executing a hard or abortive close. For UPD sockets, the remote host was unable to deliver a previously sent UDP datagram and responded with a Port Unreachable ICMP packet. The application should close the socket as it is no longer usable.";
  +            return "WSAECONNRESET: The virtual circuit was reset by the remote side executing a hard or abortive close. For UPD sockets, the remote host was unable to deliver a previously sent UDP datagram and responded with a Port Unreachable ICMP packet
  +. The application should close the socket as it is no longer usable.";
           case WSAETIMEDOUT:
               return "WSAETIMEDOUT: The connection has been dropped, because of a network failure or because the system on the other end went down without notice.";
           default:
               return "Unknown WSA error!";
  -
  +	}
   }
   
   #endif
  
  
  





More information about the Spread-cvs mailing list