aaaa perche non funzia

This commit is contained in:
Lorenzo Bianchi 2023-05-21 18:06:19 +02:00
parent 131702d682
commit 5c06be55fb
2 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,6 @@ int main(int argc, char *argv[]){
printfServer("");
printf("%s's turn\n", name[turn]);
// msgrcv(_MSGQID, &move, sizeof(move_t) - sizeof(long), MOVE, 0);
rcvMove(&move);
//TMP

View File

@ -5,6 +5,7 @@
void msgRcv(void *msgp, size_t size, long mtype) {
if (msgrcv(_MSGQID, msgp, size, mtype, 0) == -1) {
perror("test");
errExitMsg("msgrcv");
}
}