QNAM: Re-order checks in migrateBackend()
authorMarkus Goetz <Markus.Goetz@nokia.com>
Thu, 5 May 2011 13:44:00 +0000 (15:44 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Wed, 11 May 2011 14:39:29 +0000 (16:39 +0200)
commit10646142aec3b332507b9e7e0028f001c2757a7d
treee9a6c3ebe6c8890085c93a190581370a222321f8
parenta2e836f3c1acaef5e41893d1c4eb1ef8674b315e
QNAM: Re-order checks in migrateBackend()

Do the easy checks first, will avoid a crash in the HTTP code
if request is serviced from the cache.

Task-number: QTBUG-18770
Reviewed-by: Peter Hartmann
(cherry picked from commit d03a28a289cf0665290e6ea0375b31cbb2d6649e)
src/network/access/qnetworkreplyimpl.cpp