From 944562492d0c16b9e44ec4e1cc97657846d82cd0 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 30 Dec 2005 23:50:15 +0000 Subject: Basic module, transport, and sending messages git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@106 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/test-pjsip/main.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'pjsip/src/test-pjsip/main.c') 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 -int main(void) +int main(int argc, char *argv[]) { - return test_main(); + int retval = test_main(); + + if (argc != 1) { + char s[10]; + printf("\n"); + fgets(s, sizeof(s), stdin); + } + + return retval; } -- cgit v1.2.3