Changeset 8f438a5 in network-game for common


Ignore:
Timestamp:
Dec 30, 2012, 7:32:04 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
eb8adb1
Parents:
38b85bb
Message:

Fixed debug messages in Message.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Message.cpp

    r38b85bb r8f438a5  
    3131   int ret =  recvfrom(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)dest, &socklen);
    3232
    33    cout << "Received message of type " << msg->type << endl;
     33   if (ret > -1)
     34      cout << "Received message of type " << msg->type << endl;
    3435
    3536   return ret;
Note: See TracChangeset for help on using the changeset viewer.