OH YEAH.
This commit is contained in:
@@ -855,7 +855,7 @@ std::vector<char*> netprot::recvPacks(SOCKET sock, Buffer* buf) {
|
||||
cmp = memcmp(cursor, &footer, sizeof(uint64_t) + sizeof(uint8_t));
|
||||
if (cmp == 0) {
|
||||
lsPck.push_back(last);
|
||||
cursor += sizeof(uint64_t) + sizeof(uint8_t) + 1;
|
||||
cursor += sizeof(uint64_t) + sizeof(uint8_t);
|
||||
last = cursor;
|
||||
next = cursor + 1;
|
||||
}
|
||||
@@ -867,7 +867,9 @@ std::vector<char*> netprot::recvPacks(SOCKET sock, Buffer* buf) {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
for (int x = 0; x < buf->len; ++x)
|
||||
std::putchar(buf->ptr[x]);
|
||||
std::puts("");
|
||||
}
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user