back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/Makefile2
-rw-r--r--client/client.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/client/Makefile b/client/Makefile
index 48e0d92..2e2ce88 100644
--- a/client/Makefile
+++ b/client/Makefile
@@ -2,7 +2,7 @@ SRCMODULES = card_handling.c card_stack.c data_decryption.c\
printing_game_frames.c verification_client_input.c client.c
OBJMODULES = $(SRCMODULES:.c=.o)
CC = gcc
-CFLAGS = -Wall -g -c -D DEBUG
+CFLAGS = -Wall -g -c
all: client
diff --git a/client/client.c b/client/client.c
index 66bfb01..dbe2bf1 100644
--- a/client/client.c
+++ b/client/client.c
@@ -33,7 +33,6 @@ static void get_data_from_server(struct client *cl, fd_set *readfds)
/* end of file -- closed connection (from server) */
if(!cl->data_left_in_buffer) {
clean_up_resources(cl);
- pgf_disconnect();
exit(0);
}
#ifdef DEBUG