Module: wine Branch: master Commit: 91c1fc2ff98ef0d77b1f80e994e1835ed55200c8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=91c1fc2ff98ef0d77b1f80e99...
Author: Michael Stefaniuc mstefani@winehq.org Date: Wed Jun 20 23:35:10 2018 +0200
wininet/tests: Use the correct array size in a notification_data test.
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wininet/tests/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 72121d8..0524ddf 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -6558,7 +6558,7 @@ static const struct notification_data notification_data[] = { }, { async_send_request_ex_test2, - sizeof(async_send_request_ex_test)/sizeof(async_send_request_ex_test[0]), + ARRAY_SIZE(async_send_request_ex_test2), "POST", "test.winehq.org", "tests/post.php"