[2/2] winhttp/tests: Only advance to the next notification test if the function is ok.

Hans Leidekker hans at codeweavers.com
Wed Jan 29 05:05:02 CST 2014


---
 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)
-- 
1.8.5.3






More information about the wine-patches mailing list