qget test - fix null pointer dereference
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Thu, 7 Jun 2012 14:26:29 +0000 (15:26 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jun 2012 22:46:35 +0000 (00:46 +0200)
commita32d6834adb12571c764bd8448b1386ddc5b4fb8
treed95c1b51dbbe9d43e6b6ae9a81ea4b65031828ea
parent74d3963c25558846d7efe99260f90159c1adb49a
qget test - fix null pointer dereference

If the server sends a redirect with no body, the file is null

Change-Id: I49fd1d8a4cdd404497ebef4c7f3b478960776896
Reviewed-by: Richard J. Moore <rich@kde.org>
tests/manual/qnetworkaccessmanager/qget/transferitem.cpp