summaryrefslogtreecommitdiff
path: root/source4/torture/ui.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-26 20:32:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:33 -0500
commitfb3afe422fca7fe162b6b87cd5fb5aa7edbc820d (patch)
tree2f9992badb32daa0c330fb442ec6118b603089bc /source4/torture/ui.h
parent1afab0e36f87373805841bc80d2ab3b8437a5917 (diff)
downloadsamba-fb3afe422fca7fe162b6b87cd5fb5aa7edbc820d.tar.gz
samba-fb3afe422fca7fe162b6b87cd5fb5aa7edbc820d.tar.bz2
samba-fb3afe422fca7fe162b6b87cd5fb5aa7edbc820d.zip
r16529: Fix type.
(This used to be commit f9a9884c0da038f2a390444d1ab9219049f95cc3)
Diffstat (limited to 'source4/torture/ui.h')
-rw-r--r--source4/torture/ui.h4
1 files 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); \