aboutsummaryrefslogtreecommitdiff
path: root/mctypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'mctypes.c')
-rw-r--r--mctypes.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/mctypes.c b/mctypes.c
index 6afa230..6a6637a 100644
--- a/mctypes.c
+++ b/mctypes.c
@@ -18,21 +18,6 @@ varint writeVarInt(unsigned int x)
}
return n;
}
-/*
-writeVarInt(varint x, int s)
-{
- while (1) {
- if ((x & 0xFFFFFF80) == 0) {
- if (send(s, &x, 8, 0) == -1)
- exit(EXIT_FAILURE);
- return;
- }
- if (send(s, &x, 8, 0) == -1)
- exit(EXIT_FAILURE);
-
- x >>= 7;
- }
-} */
int readVarInt(varint x)
{