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) if (xfpd->cb_start)
stat_start(&xs); stat_start(&xs);
else if (xfpd->cb_update)
if (xfpd->cb_update)
stat_update(xfpd, &xs); stat_update(xfpd, &xs);
else if (xfpd->cb_end)
if (xfpd->cb_end)
stat_end(xfpd, &xs); stat_end(xfpd, &xs);
} }