0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-07 20:10:04 +00:00
termux-packages/packages/megacmd/sdk-include-megaapi_impl.h.patch
2023-03-07 03:21:00 +00:00

15 lines
490 B
Diff

https://github.com/termux/termux-packages/issues/14467
https://github.com/meganz/MEGAcmd/issues/507
--- a/sdk/include/megaapi_impl.h
+++ b/sdk/include/megaapi_impl.h
@@ -3296,7 +3296,7 @@
// Get the actual buffer state for debugging purposes
std::string bufferStatus() const;
- static const unsigned int MAX_BUFFER_SIZE = 2097152;
+ static const unsigned int MAX_BUFFER_SIZE = (1 << 25);
static const unsigned int MAX_OUTPUT_SIZE = MAX_BUFFER_SIZE / 10;
private: