Fixed gui wrapper. Fixed client data compiler errors.

This commit is contained in:
lotodore
2007-02-18 15:13:55 +00:00
parent a4eefbe18b
commit 36270e4b88
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ GuiWrapper::GuiWrapper() : myLog(0), myW(0)
{
myW = new mainWindowImpl(this);
myW = new mainWindowImpl;
myW->show();
myLog = new Log(myW);
+2 -2
View File
@@ -22,10 +22,10 @@
ClientData::ClientData()
: sockfd(INVALID_SOCKET), addrFamily(AF_INET), serverPort(0)
{
bzero(clientAddr, sizeof(clientAddr));
bzero(&clientAddr, sizeof(clientAddr));
}
ClientCallback::~ClientCallback()
ClientData::~ClientData()
{
if (sockfd != INVALID_SOCKET)
CLOSESOCKET(sockfd);