You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pr...@apache.org on 2005/01/12 16:53:58 UTC

cvs commit: ws-axis/c/src/transport/axis3 ChannelFactory.cpp

prestonf    2005/01/12 07:53:58

  Modified:    c/src/transport/axis3 ChannelFactory.cpp
  Log:
  Hi All,
  Update for trace in Transport.
  
  Regards,
  Fred Preston.
  
  Revision  Changes    Path
  1.3       +4 -2      ws-axis/c/src/transport/axis3/ChannelFactory.cpp
  
  Index: ChannelFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/ChannelFactory.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ChannelFactory.cpp	12 Jan 2005 14:27:50 -0000	1.2
  +++ ChannelFactory.cpp	12 Jan 2005 15:53:58 -0000	1.3
  @@ -27,7 +27,7 @@
   #include "ChannelFactory.hpp"
   #include <stdio.h>
   #include "HTTPTransportException.hpp"
  -#include "../common/AxisTrace.h"
  +#include "../../common/AxisTrace.h"
   
   AXIS_CPP_NAMESPACE_START
   
  @@ -100,14 +100,16 @@
               throw HTTPTransportException( SERVER_TRANSPORT_LOADING_CHANNEL_FAILED, pszErrorInfo);
           }
   
  +#ifdef ENABLE_AXISTRACE
               // Load function to do lib level inits
               void (*initializeLibrary) (AxisTraceEntrypoints&);
  -            initializeLibrary = (void (*)(AxisTraceEntrypoints&))PLATFORM_GETPROCADDR(m_LibHandler, "initializeLibrary");
  +            initializeLibrary = (void (*)(AxisTraceEntrypoints&))PLATFORM_GETPROCADDR(sLibHandler, "initializeLibrary");
   
               AxisTraceEntrypoints ep;
               AxisTrace::getTraceEntrypoints(ep);
               if (initializeLibrary)
                    (*initializeLibrary)(ep);
  +#endif
   
   		m_pLibName[m_iLibCount] = new char[ strlen( pcLibraryName) + 1];