aboutsummaryrefslogtreecommitdiff
path: root/mctypes.c
diff options
context:
space:
mode:
authorPlex <thinkplex@riseup.net>2021-10-25 03:41:36 +0200
committerPlex <thinkplex@riseup.net>2021-10-25 03:41:36 +0200
commitd33fabf0c5e1ea9a4e3118836dc459fa971d7a1d (patch)
treef830f516ee909f06a9ea6be6733efe159937001c /mctypes.c
parenta5099fdeec6f5e45d88108e28e7c00aa1cf3573c (diff)
socket connected
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)
{