summaryrefslogtreecommitdiffstats
path: root/user_call/user_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'user_call/user_io.c')
-rw-r--r--user_call/user_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_call/user_io.c b/user_call/user_io.c
index c486e46..0a25136 100644
--- a/user_call/user_io.c
+++ b/user_call/user_io.c
@@ -11,7 +11,7 @@
#define BUFLEN 8192
-int compression = 0;
+int compression;
int paclen_in = 256;
int paclen_out = 256;
@@ -22,7 +22,7 @@ static unsigned char buf[BUFLEN];
#include <zlib.h>
/* Error in (de)compression happened? */
-static int compression_error = 0;
+static int compression_error;
/* These are for the (de)compressor */
static unsigned char input_buffer[BUFLEN];
@@ -193,7 +193,7 @@ int select_loop(int s)
FD_ZERO(&read_fd);
FD_SET(STDIN_FILENO, &read_fd);
FD_SET(s, &read_fd);
-
+
select(s + 1, &read_fd, NULL, NULL, NULL);
if (FD_ISSET(s, &read_fd)) {