Skip to content

Commit

Permalink
Update daemon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Garic152 authored Jul 6, 2024
1 parent 0118a4f commit 52b4fc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ void *read_packets(void *arg) {

if (is_malicious) {
pthread_mutex_lock(&port->mutex);
printf("MALICIOUS CONTENT FOUND!\n");
port->expected_packet_id += 1;
pthread_cond_broadcast(&port->cond);
pthread_mutex_unlock(&port->mutex);
Expand Down

0 comments on commit 52b4fc7

Please sign in to comment.