Skip to content

Commit

Permalink
fix: not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
araujo88 committed Jul 19, 2024
1 parent 84f8afe commit d9fc01a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,12 @@ void *send_data(void *client_socket)
{
get_users_view(client_socket);
}
else
{
error_not_found(client_socket);
}
}
}
error_not_found(client_socket);
close(*(int *)client_socket);
free(client_socket);
}
Expand Down

0 comments on commit d9fc01a

Please sign in to comment.