the first bird index is 1, not 0

This commit is contained in:
Stephen Birarda 2013-07-12 14:57:36 -07:00
parent 8f7379839d
commit 0873be94d4

View file

@ -29,7 +29,7 @@ int main(int argc, const char* argv[]) {
unsigned char assignmentPacket[numHeaderBytes + sizeof(char)];
populateTypeAndVersion(assignmentPacket, PACKET_TYPE_SEND_ASSIGNMENT);
int birdIndex = 0;
int birdIndex = 1;
while (true) {
if (serverSocket.receive((sockaddr*) &senderSocket, &senderData, &receivedBytes)) {