From 9b2afd165ab6ffa712a21fb86efcb435e3ab6129 Mon Sep 17 00:00:00 2001 From: Pekka Pessi Date: Thu, 8 Sep 2005 18:13:35 +0300 Subject: [PATCH] Fixed macro expansion problem with VC6 darcs-hash:20050908151335-65a35-113271a4f638f4ba6e26e4f85a7fd29a7c4bc29c.gz --- libsofia-sip-ua/nta/nta_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsofia-sip-ua/nta/nta_test.c b/libsofia-sip-ua/nta/nta_test.c index 2c3fbba9..bb6ebfd7 100644 --- a/libsofia-sip-ua/nta/nta_test.c +++ b/libsofia-sip-ua/nta/nta_test.c @@ -3191,11 +3191,11 @@ static int test_api_errors(void) TEST(nta_msg_complete(NULL), -1); TEST(nta_msg_response_complete(NULL, NULL, 800, "foo"), -1); - TEST(nta_msg_request_complete(NULL, NULL, SIP_METHOD("FOO"), NULL), -1); + TEST(nta_msg_request_complete(NULL, NULL, sip_method_unknown, "FOO", NULL), -1); TEST_1(msg = nta_msg_create(nta, 0)); TEST(nta_msg_complete(msg), -1); TEST(nta_msg_response_complete(msg, NULL, 800, "foo"), -1); - TEST(nta_msg_request_complete(msg, NULL, SIP_METHOD("FOO"), NULL), -1); + TEST(nta_msg_request_complete(msg, NULL, sip_method_unknown, "FOO", NULL), -1); TEST(nta_is_internal_msg(NULL), 0); TEST(nta_is_internal_msg(msg), 0); TEST_1(msg_set_flags(msg, NTA_INTERNAL_MSG)); -- 2.21.0