axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r525385 - /webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c
Date Wed, 04 Apr 2007 03:27:45 GMT
Author: samisa
Date: Tue Apr  3 20:27:44 2007
New Revision: 525385

URL: http://svn.apache.org/viewvc?view=rev&rev=525385
Log:
Added more info printfs

Modified:
    webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c

Modified: webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c?view=diff&rev=525385&r1=525384&r2=525385
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c Tue Apr  3 20:27:44 2007
@@ -114,12 +114,14 @@
 		}
 
 		if (!(listen_port && target_port && target_host))
-		  {
+        {
 				printf ("ERROR: essential argument missing \n");
 				printf ("Please recheck values of listen_port (-lp), target_port(-tp) and target_host
(-th)\n");
 				return 0;
-		  }
+        }
 
+        printf ("Listen port : %d Target port : %d Target host: %s\n", 
+            listen_port, target_port, target_host);
 		session = tcpmon_session_create(env);
 
 		TCPMON_SESSION_SET_LISTEN_PORT(session, env, listen_port);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message