[PATCH] (RESUBMIT) wininet: restructure for better return checking

Alexandre Julliard julliard at winehq.org
Fri Mar 14 07:25:42 CDT 2008

Marcus Meissner <marcus at jet.franken.de> writes:

> Coverity spotted some potential lpwhh NULL usage
> after NULL checking.
> I restructured the code a bit to check lpwhh
> earlier and return at that time. Also removed a
> unnecessary cast.

This doesn't work:

../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p wininet_test.exe.so internet.c && touch internet.ok
internet.c:118: Test failed: InternetSetOptionA failed 6, expected ERROR_INTERNET_INVALID_OPTION
make[2]: *** [internet.ok] Error 1

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list