Changeset 1807 for trunk/src/wsock32/wsock32.cpp
- Timestamp:
- Nov 22, 1999, 9:18:04 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wsock32/wsock32.cpp
r1798 r1807 1 /* $Id: wsock32.cpp,v 1.1 4 1999-11-21 15:22:18phaller Exp $ */1 /* $Id: wsock32.cpp,v 1.15 1999-11-22 08:18:02 phaller Exp $ */ 2 2 3 3 /* … … 124 124 * Local variables * 125 125 *****************************************************************************/ 126 127 typedef struct tagWsockThreadData128 {129 DWORD dwLastError; // Get/SetLastError130 WHOSTENT whsnt; // database conversion buffers131 WSERVENT wsvnt;132 WPROTOENT wptnt;133 } WSOCKTHREADDATA, *PWSOCKTHREADDATA;134 126 135 127 static WSOCKTHREADDATA wstdFallthru; // for emergency only … … 975 967 { 976 968 int rc = gethostname(name,namelen); 977 969 978 970 if (rc == SOCKET_ERROR) 979 971 WSASetLastError(ERROR_SUCCESS); 980 972 else 981 973 WSASetLastError(iTranslateSockErrToWSock(sock_errno())); 982 974 983 975 return (rc); 984 976 }
Note:
See TracChangeset
for help on using the changeset viewer.