Module: wine Branch: master Commit: ff08a6866820221ba134239c957465ce458a182c URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff08a6866820221ba134239c95...
Author: Marko Nikolic grkoma@gmail.com Date: Mon Jun 28 22:36:10 2010 +0200
advapi32/tests: Replaced function lstrlen with strlen in condition check.
---
dlls/advapi32/tests/security.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 2b14ae5..1f1b697 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -2807,7 +2807,7 @@ static void test_ConvertSecurityDescriptorToString(void) * don't replicate this feature so we only test len >= strlen+1. */ #define CHECK_RESULT_AND_FREE(exp_str) \ ok(strcmp(string, (exp_str)) == 0, "String mismatch (expected "%s", got "%s")\n", (exp_str), string); \ - ok(len >= (lstrlen(exp_str) + 1), "Length mismatch (expected %d, got %d)\n", lstrlen(exp_str) + 1, len); \ + ok(len >= (strlen(exp_str) + 1), "Length mismatch (expected %d, got %d)\n", lstrlen(exp_str) + 1, len); \ LocalFree(string);
#define CHECK_ONE_OF_AND_FREE(exp_str1, exp_str2) \