Merge pull request #595 from FullName/MessengerLoadSave

Thou shalt not take singular commands after an if into #ifdef DEBUG...
This commit is contained in:
irungentoo 2013-09-21 04:24:40 -07:00
commit a07162bf92

View File

@ -1425,12 +1425,12 @@ static int Messenger_load_old(Messenger *m, uint8_t *data, uint32_t length)
if (length < size)
return -1;
if (DHT_load_old(m->dht, data, size) == -1)
if (DHT_load_old(m->dht, data, size) == -1) {
#ifdef DEBUG
fprintf(stderr, "Data file: Something wicked happened to the stored connections...\n");
/* DO go on, friends/name still might be intact */
#endif
/* DO go on, friends/name still might be intact */
}
data += size;
length -= size;