Changeset 8554263 in network-game for common/MessageProcessor.cpp


Ignore:
Timestamp:
Dec 24, 2013, 8:06:30 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
9c18cb7
Parents:
68d94de
Message:

Restructuring and code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.cpp

    r68d94de r8554263  
    4040   int ret =  sendto(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)dest, sizeof(struct sockaddr_in));
    4141
    42    return ret;
     42   if (ret < 0)
     43      error("sendMessage");
     44   else
     45      return ret;
    4346}
    4447
Note: See TracChangeset for help on using the changeset viewer.