Browse Source

Merge pull request #195 from jmendeth/patch-3

Fix Netjack crashes due to broken alignment
tags/v1.9.11-RC1
Stéphane Letz 9 years ago
parent
commit
0febcba823
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      common/JackNetTool.h

+ 4
- 4
common/JackNetTool.h View File

@@ -38,7 +38,7 @@ using namespace std;
#endif
#endif

#define NETWORK_PROTOCOL 8
#define NETWORK_PROTOCOL 9

#define NET_SYNCHING 0
#define SYNC_PACKET_ERROR -2
@@ -94,9 +94,9 @@ namespace Jack
char fPacketType[8]; //packet type ('param')
uint32_t fProtocolVersion; //version
int32_t fPacketID; //indicates the packet type
char fName[JACK_CLIENT_NAME_SIZE+1]; //slave's name
char fMasterNetName[JACK_SERVER_NAME_SIZE+1]; //master hostname (network)
char fSlaveNetName[JACK_SERVER_NAME_SIZE+1]; //slave hostname (network)
char fName[JACK_CLIENT_NAME_SIZE+8]; //slave's name
char fMasterNetName[JACK_SERVER_NAME_SIZE+8]; //master hostname (network)
char fSlaveNetName[JACK_SERVER_NAME_SIZE+8]; //slave hostname (network)
uint32_t fMtu; //connection mtu
uint32_t fID; //slave's ID
uint32_t fTransportSync; //is the transport synced ?


Loading…
Cancel
Save