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:
parent
fc9e038f3f
commit
0a362b42a4
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user