Fixed strings that exceeded line length recommendations.
This commit is contained in:
@@ -220,8 +220,10 @@ static char *winsock_error_code_text(
|
|||||||
case WSAEWOULDBLOCK:
|
case WSAEWOULDBLOCK:
|
||||||
return "Operation would block.";
|
return "Operation would block.";
|
||||||
case WSAEINPROGRESS:
|
case WSAEINPROGRESS:
|
||||||
return
|
return "Operation now in progress. "
|
||||||
"Operation now in progress. This error is returned if any Windows Sockets API function is called while a blocking function is in progress.";
|
"This error is returned if any Windows Sockets API "
|
||||||
|
"function is called while a blocking function "
|
||||||
|
"is in progress.";
|
||||||
case WSAENOTSOCK:
|
case WSAENOTSOCK:
|
||||||
return "Socket operation on nonsocket.";
|
return "Socket operation on nonsocket.";
|
||||||
case WSAEDESTADDRREQ:
|
case WSAEDESTADDRREQ:
|
||||||
@@ -247,8 +249,10 @@ static char *winsock_error_code_text(
|
|||||||
case WSAEADDRNOTAVAIL:
|
case WSAEADDRNOTAVAIL:
|
||||||
return "Cannot assign requested address.";
|
return "Cannot assign requested address.";
|
||||||
case WSAENETDOWN:
|
case WSAENETDOWN:
|
||||||
return
|
return "Network is down. "
|
||||||
"Network is down. This error may be reported at any time if the Windows Sockets implementation detects an underlying failure.";
|
"This error may be reported at any time "
|
||||||
|
"if the Windows Sockets implementation "
|
||||||
|
"detects an underlying failure.";
|
||||||
case WSAENETUNREACH:
|
case WSAENETUNREACH:
|
||||||
return "Network is unreachable.";
|
return "Network is unreachable.";
|
||||||
case WSAENETRESET:
|
case WSAENETRESET:
|
||||||
@@ -288,7 +292,8 @@ static char *winsock_error_code_text(
|
|||||||
"this application.";
|
"this application.";
|
||||||
case WSANOTINITIALISED:
|
case WSANOTINITIALISED:
|
||||||
return "Winsock not initialized. "
|
return "Winsock not initialized. "
|
||||||
"This message is returned by any function except WSAStartup(), "
|
"This message is returned by any function "
|
||||||
|
"except WSAStartup(), "
|
||||||
"indicating that a successful WSAStartup() has not yet "
|
"indicating that a successful WSAStartup() has not yet "
|
||||||
"been performed.";
|
"been performed.";
|
||||||
case WSAEDISCON:
|
case WSAEDISCON:
|
||||||
|
|||||||
Reference in New Issue
Block a user