1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 02:16:35 +01:00

allow resuming of broken file transfers (needs testing)

This commit is contained in:
Jfreegman
2014-08-16 17:20:53 -04:00
parent ae83725cb6
commit b870679f2c
6 changed files with 71 additions and 5 deletions

View File

@@ -44,13 +44,14 @@
#define DNS3_KEY_SIZE 32
#define MAX_DNS_REQST_SIZE 255
#define NUM_DNS3_BACKUP_SERVERS 2 /* must correspond to number of items in dns3_servers array */
#define TOX_DNS3_TXT_PREFIX "v=tox3;id="
extern struct _Winthread Winthread;
extern struct _dns3_servers dns3_servers;
extern struct arg_opts arg_opts;
#define NUM_DNS3_BACKUP_SERVERS 2
/* Hardcoded backup in case domain list is not loaded */
static struct dns3_server_backup {
const char *name;