1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 22:53:28 +01:00

correct value

This commit is contained in:
Jfreegman 2014-12-05 13:47:47 -05:00
parent 90985af007
commit ab2ea5936d
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
2 changed files with 2 additions and 1 deletions

View File

@ -463,6 +463,7 @@ static void chat_onFileControl(ToxWindow *self, Tox *m, int32_t num, uint8_t rec
sound_notify(self, silent, NT_NOFOCUS | NT_BEEP | NT_WNDALERT_2, NULL); sound_notify(self, silent, NT_NOFOCUS | NT_BEEP | NT_WNDALERT_2, NULL);
} else { /* active transfer is paused by receiver */ } else { /* active transfer is paused by receiver */
file_senders[send_idx].paused = false; file_senders[send_idx].paused = false;
file_senders[send_idx].timestamp = get_unix_time();
} }
break; break;

View File

@ -32,7 +32,7 @@
#define FILE_PIECE_SIZE 2048 /* must be >= (MAX_CRYPTO_DATA_SIZE - 2) in toxcore/net_crypto.h */ #define FILE_PIECE_SIZE 2048 /* must be >= (MAX_CRYPTO_DATA_SIZE - 2) in toxcore/net_crypto.h */
#define MAX_FILES 32 #define MAX_FILES 32
#define TIMEOUT_FILESENDER 10 #define TIMEOUT_FILESENDER 120
#define NUM_PROG_MARKS 50 /* number of "#"'s in file transfer progress bar. Keep well below MAX_STR_SIZE */ #define NUM_PROG_MARKS 50 /* number of "#"'s in file transfer progress bar. Keep well below MAX_STR_SIZE */
typedef struct { typedef struct {