FIX: Keep the input URL order
commitc45aa78577f01047280e4e9c26d0ef812df64522
authorToni Gundogdu <legatvs@gmail.com>
Sun, 26 May 2013 11:09:06 +0000 (26 14:09 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Sun, 26 May 2013 11:15:41 +0000 (26 14:15 +0300)
treec97b2a70bc894ba744bb4a7bd9493b72adc820d4
parentba2266bf4ecfdfd09b1f9bcd66f55184131731c4
FIX: Keep the input URL order

This fixes what commit 4d6aac87dde312ae0a8ee1a329426e01f40f746a was
originally intended to fix.  Without this, the input URL order gets
mangled which can be frustrating when processing URLs in batches and
operating over an unreliable connection.

Rather than reversing the order in the "check support" facility which is
called *foreach* input URL, reverse the lists only once *after* the
facility returns the results.

See the comment in the committed code for the reason we reverse the
order.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/setup.c