summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath-test/main.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-03-22 01:16:37 +0000
committerBenny Prijono <bennylp@teluu.com>2007-03-22 01:16:37 +0000
commit55b9543aa6068f06fbe28bb9ddb3dd5529da580f (patch)
tree885e5af1fb1751c9cf1336002ddbfe8b85d21cd9 /pjnath/src/pjnath-test/main.c
parent8befa349c02d1150d1140aefee97ebb47527da20 (diff)
Completed initial test for ICE
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1094 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjnath-test/main.c')
-rw-r--r--pjnath/src/pjnath-test/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjnath/src/pjnath-test/main.c b/pjnath/src/pjnath-test/main.c
index 33583e30..452c5c30 100644
--- a/pjnath/src/pjnath-test/main.c
+++ b/pjnath/src/pjnath-test/main.c
@@ -48,6 +48,11 @@ int main(int argc, char *argv[])
rc = test_main();
+ if (argc == 2 && pj_ansi_strcmp(argv[1], "-i")==0) {
+ char buf[10];
+ fgets(buf, sizeof(buf), stdin);
+ }
+
return rc;
}