1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r16529: Fix type.

This commit is contained in:
Jelmer Vernooij 2006-06-26 20:32:22 +00:00 committed by Gerald (Jerry) Carter
parent 3763ed3092
commit f9a9884c0d

View File

@ -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); \