1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-24 00:23:25 +01:00

fix file transfer bug

This commit is contained in:
Jfreegman 2014-05-20 19:36:53 -04:00
parent 1d6a6efb81
commit da308b2253
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -194,8 +194,8 @@ struct ChatContext {
/* Start file transfer code */
#define FILE_PIECE_SIZE 2048 /* must be >= (MAX_CRYPTO_DATA_SIZE - 2) in toxcore/net_crypto.h */
#define MAX_FILES 256
#define FILE_PIECE_SIZE 1024
#define TIMEOUT_FILESENDER 300
typedef struct {