diff options
author | irungentoo <irungentoo@gmail.com> | 2013-09-21 04:24:40 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-09-21 04:24:40 -0700 |
commit | a07162bf92db59ffdb38158c8d5f170392b79fdb (patch) | |
tree | b5e94fe5b34eebc1ab0a82b79a74d0f89d074ef9 | |
parent | 892c7aa2668b075e694df83cd00544101569ede0 (diff) | |
parent | f56a8529a3235029333e2da49d28d0ef5899819e (diff) |
Merge pull request #595 from FullName/MessengerLoadSave
Thou shalt not take singular commands after an if into #ifdef DEBUG...
-rw-r--r-- | toxcore/Messenger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index dbbfa58c..e468a60a 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -1425,12 +1425,12 @@ static int Messenger_load_old(Messenger *m, uint8_t *data, uint32_t length) | |||
1425 | if (length < size) | 1425 | if (length < size) |
1426 | return -1; | 1426 | return -1; |
1427 | 1427 | ||
1428 | if (DHT_load_old(m->dht, data, size) == -1) | 1428 | if (DHT_load_old(m->dht, data, size) == -1) { |
1429 | #ifdef DEBUG | 1429 | #ifdef DEBUG |
1430 | fprintf(stderr, "Data file: Something wicked happened to the stored connections...\n"); | 1430 | fprintf(stderr, "Data file: Something wicked happened to the stored connections...\n"); |
1431 | 1431 | /* DO go on, friends/name still might be intact */ | |
1432 | #endif | 1432 | #endif |
1433 | /* DO go on, friends/name still might be intact */ | 1433 | } |
1434 | 1434 | ||
1435 | data += size; | 1435 | data += size; |
1436 | length -= size; | 1436 | length -= size; |