1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 03:06:45 +02:00

save files to original name and some bug fixes

This commit is contained in:
Jfreegman
2013-10-17 06:13:28 -04:00
parent 7046772a03
commit 973bd3f396
3 changed files with 34 additions and 21 deletions

View File

@ -104,7 +104,7 @@ typedef struct {
typedef struct {
FILE *file;
WINDOW *chatwin;
uint16_t friendnum;
int friendnum;
uint8_t filenum;
uint8_t nextpiece[FILE_PIECE_SIZE];
uint16_t piecelen;
@ -115,6 +115,7 @@ FileSender file_senders[NUM_FILE_SENDERS];
uint8_t num_file_senders;
uint8_t pending_file_transfers[MAX_FILENUMBER];
uint8_t filenames[MAX_FILENUMBER][MAX_STR_SIZE];
/* End file transfer code */