client: allow reconnection to gather all data

A stray semicolon blocked purge_and_rerequest() to always
terminate after the first track, and report failure.
This commit is contained in:
Erik Faye-Lund 2010-03-20 16:15:08 +01:00
parent fc9e038f3f
commit 0a362b42a4

View File

@ -228,7 +228,7 @@ static int purge_and_rerequest(struct sync_device *d)
d->data.tracks[i]->keys = NULL;
d->data.tracks[i]->num_keys = 0;
if (request_track_data(d->sock, d->data.tracks[i]->name, i));
if (request_track_data(d->sock, d->data.tracks[i]->name, i))
return 1;
}
return 0;