Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17954:016f9b2d6ee0
Increase read buffer size and be more careful about overruns.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Thu, 19 Jul 2007 04:09:33 +0000 |
parents | bde17299004b |
children | 9e8943111022 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Wed Jul 18 06:09:32 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Thu Jul 19 04:09:33 2007 +0000 @@ -95,7 +95,7 @@ /* Constants */ #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */ #define NONCE_SIZE 0x20 /**< Half of decoded 'nc' field */ -#define MSIM_READ_BUF_SIZE (5 * 1024) /**< Receive buffer size */ +#define MSIM_READ_BUF_SIZE (15 * 1024) /**< Receive buffer size */ #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */ /* Messages */