Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sg777 committed Jan 1, 2018
1 parent b9790d0 commit fee83c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions privatebet/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void* BET_hostdcv(void * _ptr)
playercards[playerID][i]=jbits256i(playerInfo,i);
}
}
bytes=nn_send(bet->pubsock,buf,bytes,0);
bytes=nn_send(bet->pubsock,buf,strlen(buf),0);
}
}
cJSON_Delete(gameInfo);
Expand Down Expand Up @@ -413,7 +413,7 @@ void* BET_hostdcv(void * _ptr)
int bytes=nn_recv(bet->pullsock,&buf,NN_MSG,0);
if(bytes>0)
{
bytes=nn_send(bet->pubsock,buf,bytes,0);
bytes=nn_send(bet->pubsock,buf,strlen(buf),0);
}
}
nn_shutdown(bet->pullsock,0);
Expand Down

0 comments on commit fee83c0

Please sign in to comment.