Skip to content

Commit

Permalink
Fixed crash if unable to connect to world
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Mar 22, 2018
1 parent 73c84f0 commit 441cbf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc.cpp
Expand Up @@ -4662,7 +4662,7 @@ pCmdUI->Enable (!m_strAutoSayString.IsEmpty ());
pCmdUI->SetCheck (m_bEnableAutoSay);
}

const char * CMUSHclientDoc::GetSocketError (int nError)
CString CMUSHclientDoc::GetSocketError (int nError)
{

switch (nError)
Expand Down
2 changes: 1 addition & 1 deletion doc.h
Expand Up @@ -1837,7 +1837,7 @@ class CMUSHclientDoc : public CDocument

void OnConnect(int nErrorCode);
void HostNameResolved (WPARAM wParam, LPARAM lParam);
const char * GetSocketError (int nError);
CString GetSocketError (int nError);
bool LookupHostName (LPCTSTR sName);
void InitiateConnection (void);
void ConnectionEstablished (void);
Expand Down

0 comments on commit 441cbf9

Please sign in to comment.