You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/06/20 12:26:46 UTC

svn commit: r549051 - in /webservices/axis2/trunk/c/tools/tcpmon/src: session.c tcpmon.c util.c

Author: samisa
Date: Wed Jun 20 03:26:45 2007
New Revision: 549051

URL: http://svn.apache.org/viewvc?view=rev&rev=549051
Log:
Fixed build break

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

Modified: webservices/axis2/trunk/c/tools/tcpmon/src/session.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/tcpmon/src/session.c?view=diff&rev=549051&r1=549050&r2=549051
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/session.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/session.c Wed Jun 20 03:26:45 2007
@@ -156,7 +156,7 @@
 
     session_impl -> on_new_entry_funct = NULL;
     session_impl -> on_trans_fault_funct = NULL;
-    session_impl -> entries = axutil_array_list_create(env, 10);
+    session_impl -> entries = axutil_array_list_create(env, AXIS2_ARRAY_LIST_DEFAULT_CAPACITY);
 
     session_impl->session.ops =
         AXIS2_MALLOC(env->allocator, sizeof(tcpmon_session_ops_t));

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=549051&r1=549050&r2=549051
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/tcpmon.c Wed Jun 20 03:26:45 2007
@@ -22,8 +22,7 @@
 #include <tcpmon_session.h>
 #include <tcpmon_entry.h>
 #include <tcpmon_util.h>
-#include <platforms/axutil_platform_auto_sense.h>
-#include <axutil_string.h>
+#include <stdio.h>
 
 #define SIZE 1024
 axis2_char_t *tcpmon_traffic_log = "tcpmon_traffic.log";

Modified: webservices/axis2/trunk/c/tools/tcpmon/src/util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/tcpmon/src/util.c?view=diff&rev=549051&r1=549050&r2=549051
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/util.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/util.c Wed Jun 20 03:26:45 2007
@@ -16,12 +16,7 @@
  */
 
 #include <tcpmon_util.h>
-#include <axutil_string.h>
 #include <axiom.h>
-#include <axis2_util.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 
 #define START_ELEMENT 1
 #define CHAR_VALUE 2
@@ -48,9 +43,8 @@
 			     axis2_char_t c,
 			     int turns);
 */
-
-axis2_char_t* 
-tcpmon_util_format_as_xml(const axutil_env_t* env, axis2_char_t* data, int format)
+axis2_char_t*
+tcpmon_util_format_as_xml(const axutil_env_t *env, axis2_char_t *data, int format)
 {
     if(format)
     {



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