diff options
Diffstat (limited to 'pjsip/src/test-pjsip/main.c')
-rw-r--r-- | pjsip/src/test-pjsip/main.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pjsip/src/test-pjsip/main.c b/pjsip/src/test-pjsip/main.c index 3e5270b1..3c5f0800 100644 --- a/pjsip/src/test-pjsip/main.c +++ b/pjsip/src/test-pjsip/main.c @@ -17,8 +17,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "test.h" +#include <stdio.h> -int main(void) +int main(int argc, char *argv[]) { - return test_main(); + int retval = test_main(); + + if (argc != 1) { + char s[10]; + printf("<Press ENTER to quit>\n"); + fgets(s, sizeof(s), stdin); + } + + return retval; } |