Hans Leidekker : winhttp/tests: Only advance to the next notification test if the function is ok.
Alexandre Julliard
julliard at winehq.org
Wed Jan 29 14:53:32 CST 2014
Module: wine
Branch: master
Commit: 21ff41341325310b63cd8111cdb9f0845d87a3fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21ff41341325310b63cd8111cdb9f0845d87a3fb
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jan 29 12:05:02 2014 +0100
winhttp/tests: Only advance to the next notification test if the function is ok.
---
dlls/winhttp/tests/notification.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c
index cc375e6..f2a3692 100644
--- a/dlls/winhttp/tests/notification.c
+++ b/dlls/winhttp/tests/notification.c
@@ -107,7 +107,7 @@ static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DW
todo_wine ok(function_ok, "%u: expected function %u got %u\n", info->line, info->test[i].function, info->function);
}
}
- if (status_ok) info->index++;
+ if (status_ok && function_ok) info->index++;
if (proxy_active())
{
while (info->test[info->index].skipped_for_proxy)
More information about the wine-cvs
mailing list