mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-24 14:53:25 +01:00
fix file transfer bug
This commit is contained in:
parent
1d6a6efb81
commit
da308b2253
@ -194,8 +194,8 @@ struct ChatContext {
|
|||||||
|
|
||||||
/* Start file transfer code */
|
/* 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 MAX_FILES 256
|
||||||
#define FILE_PIECE_SIZE 1024
|
|
||||||
#define TIMEOUT_FILESENDER 300
|
#define TIMEOUT_FILESENDER 300
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user