diff options
author | Plex <thinkplex@riseup.net> | 2021-10-25 03:41:36 +0200 |
---|---|---|
committer | Plex <thinkplex@riseup.net> | 2021-10-25 03:41:36 +0200 |
commit | d33fabf0c5e1ea9a4e3118836dc459fa971d7a1d (patch) | |
tree | f830f516ee909f06a9ea6be6733efe159937001c /mctypes.c | |
parent | a5099fdeec6f5e45d88108e28e7c00aa1cf3573c (diff) |
socket connected
Diffstat (limited to 'mctypes.c')
-rw-r--r-- | mctypes.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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) { |