summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath-test/main.c
diff options
context:
space:
mode:
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;
}