xbps-bin/fetch.c: use else if conditionals.

--HG--
branch : progress_callback
This commit is contained in:
Juan RP 2011-01-22 13:08:36 +01:00
parent 9611f3e412
commit 81b6b62aef

View File

@ -180,10 +180,8 @@ fetch_file_progress_cb(void *data)
if (xfpd->cb_start)
stat_start(&xs);
if (xfpd->cb_update)
else if (xfpd->cb_update)
stat_update(xfpd, &xs);
if (xfpd->cb_end)
else if (xfpd->cb_end)
stat_end(xfpd, &xs);
}