aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P3/server.c2
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