From bbac274bdc7f33d5025aede241d74262438b12b5 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Thu, 5 Sep 2013 02:14:05 +0000 Subject: Re #1630 (misc): Fixed incorrect use of logical and git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4587 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/test/msg_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip') diff --git a/pjsip/src/test/msg_test.c b/pjsip/src/test/msg_test.c index 9f694eac..bdc20468 100644 --- a/pjsip/src/test/msg_test.c +++ b/pjsip/src/test/msg_test.c @@ -447,7 +447,7 @@ parse_msg: print_msg: var.print_len = var.print_len + entry->len; pj_get_timestamp(&t1); - if (var.flag && FLAG_PRINT_ONLY) + if (var.flag & FLAG_PRINT_ONLY) ref_msg = print_msg; len = pjsip_msg_print(ref_msg, msgbuf1, PJSIP_MAX_PKT_LEN); if (len < 1) { -- cgit v1.2.3