diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-17 10:05:57 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-17 10:05:57 -0600 |
commit | 8d4215deea56a389ee925eb9b773fb3f8df1ca73 (patch) | |
tree | 47b3cce30f9aa311da533aa1f9588eac985efae5 /P3 | |
parent | fix strcmp (diff) | |
download | csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar.gz csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar.bz2 csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar.lz csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar.xz csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.tar.zst csci4061-8d4215deea56a389ee925eb9b773fb3f8df1ca73.zip |
use given defines
Diffstat (limited to 'P3')
-rw-r--r-- | P3/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |