From fb3afe422fca7fe162b6b87cd5fb5aa7edbc820d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 26 Jun 2006 20:32:22 +0000 Subject: r16529: Fix type. (This used to be commit f9a9884c0da038f2a390444d1ab9219049f95cc3) --- source4/torture/ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/ui.h b/source4/torture/ui.h index 07c488f533..006e2b99ef 100644 --- a/source4/torture/ui.h +++ b/source4/torture/ui.h @@ -146,7 +146,7 @@ BOOL torture_run_test(struct torture_context *context, #define torture_assert_casestr_equal(ctx,got,expected,string) \ - do { const char *__got = got, __expected = expected; \ + do { const char *__got = got, *__expected = expected; \ if (strcasecmp(__got, __expected) != 0) { \ torture_fail(ctx, "%s:%d (%s): got %s, expected %s", __FILE__, \ __LINE__, string, got, expected); \ @@ -155,7 +155,7 @@ BOOL torture_run_test(struct torture_context *context, } while(0) #define torture_assert_str_equal(ctx,got,expected,string) \ - do { const char *__got = got, __expected = expected; \ + do { const char *__got = got, *__expected = expected; \ if (strcmp(__got, __expected) != 0) { \ torture_fail(ctx, "%s:%d (%s): got %s, expected %s", __FILE__, \ __LINE__, string, __got, __expected); \ -- cgit