summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-01-07 23:01:56 +0000
committerBenny Prijono <bennylp@teluu.com>2006-01-07 23:01:56 +0000
commit4d13052a1303da4e4d0a376cf6b839ce9ebb6e7a (patch)
tree25e80cdb5d3d1952020f441adf89fbce7102a26e /pjsip/src/test-pjsip/test.c
parent8bdb232f47e4f3518f983a8921c6cdab388bbcbe (diff)
Finished UAC tests and added argument parsing in main()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@111 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/test.c')
-rw-r--r--pjsip/src/test-pjsip/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pjsip/src/test-pjsip/test.c b/pjsip/src/test-pjsip/test.c
index fdc6a7d8..4294225c 100644
--- a/pjsip/src/test-pjsip/test.c
+++ b/pjsip/src/test-pjsip/test.c
@@ -36,6 +36,7 @@
pjsip_endpoint *endpt;
+int log_level = 5;
void app_perror(const char *msg, pj_status_t rc)
{
@@ -81,7 +82,7 @@ int test_main(void)
const char *filename;
int line;
- pj_log_set_level(5);
+ pj_log_set_level(log_level);
/*
pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME |
PJ_LOG_HAS_MICRO_SEC);