From 8d4215deea56a389ee925eb9b773fb3f8df1ca73 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 17 Nov 2020 10:05:57 -0600 Subject: use given defines --- P3/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3/server.c b/P3/server.c index 00a0d0e..9dc5123 100644 --- a/P3/server.c +++ b/P3/server.c @@ -121,7 +121,7 @@ void * dispatch(void *arg) { while (1) { // Accept client connection int newReq = accept_connection(); - if (newReq >= 0) { + if (newReq > INVALID) { //Make traversal Queue???? request_t* traverse = Q; // Get request from the client -- cgit v1.2.3