fix misspelling; tweak error messages

This commit is contained in:
ehouse 2005-10-19 03:21:19 +00:00
parent 74b6ccbd52
commit 5e693ee022
2 changed files with 6 additions and 5 deletions

View file

@ -717,7 +717,7 @@ blocking_gotEvent( CursesAppGlobals* globals, int* ch )
addrRec.u.ip_relay.ipAddr = addrRec.u.ip_relay.ipAddr =
ntohl(addr_sock.sin_addr.s_addr); ntohl(addr_sock.sin_addr.s_addr);
XP_LOGF( "captured incomming ip address: 0x%lx", XP_LOGF( "captured incoming ip address: 0x%lx",
addrRec.u.ip_relay.ipAddr ); addrRec.u.ip_relay.ipAddr );
if ( comms_checkIncomingStream(globals->cGlobals.game.comms, if ( comms_checkIncomingStream(globals->cGlobals.game.comms,

View file

@ -176,15 +176,16 @@ linux_getErrString( UtilErrID id, XP_Bool* silent )
break; break;
case ERR_RELAY_BASE + XWRELAY_ERROR_TIMEOUT: case ERR_RELAY_BASE + XWRELAY_ERROR_TIMEOUT:
message = "The relay timed you out; maybe the other players " message = "The relay timed you out; other players "
"didn't show."; "have left or never showed up.";
break; break;
case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_YOU: case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_YOU:
message = "You were disconnected from relay because it didn't " message = "You were disconnected from relay because it didn't "
"hear from you in too long."; "hear from you in too long.";
break; break;
case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_OTHER: case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_OTHER:
*silent = XP_TRUE; /* *silent = XP_TRUE; */
message = "The relay has lost contact with a device in this game."; message = "The relay has lost contact with a device in this game.";
break; break;
@ -366,7 +367,7 @@ linux_receive( CommonGlobals* cGlobals, unsigned char* buf, int bufSize )
return nRead; return nRead;
} /* linuxReceive */ } /* linuxReceive */
/* Create a stream for the incomming message buffer, and read in any /* Create a stream for the incoming message buffer, and read in any
information specific to our platform's comms layer (return address, say) information specific to our platform's comms layer (return address, say)
*/ */
XWStreamCtxt* XWStreamCtxt*