You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by mc...@apache.org on 2004/05/30 17:29:04 UTC

cvs commit: logging-log4cxx/include/log4cxx/net sockethubappender.h

mcatan      2004/05/30 08:29:04

  Modified:    include/log4cxx/net sockethubappender.h
  Log:
  oosList must be passed by reference to the ServerMonitor
  
  Revision  Changes    Path
  1.12      +2 -2      logging-log4cxx/include/log4cxx/net/sockethubappender.h
  
  Index: sockethubappender.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/net/sockethubappender.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- sockethubappender.h	24 Apr 2004 06:55:02 -0000	1.11
  +++ sockethubappender.h	30 May 2004 15:29:04 -0000	1.12
  @@ -195,7 +195,7 @@
   			{
   			private:
   				int port;
  -				std::vector<helpers::SocketOutputStreamPtr> oosList;
  +				std::vector<helpers::SocketOutputStreamPtr>& oosList;
   				bool keepRunning;
   				helpers::Thread * monitorThread;
   				
  @@ -207,7 +207,7 @@
   				/**
   				Create a thread and start the monitor. */
   				ServerMonitor(int port,
  -				const std::vector<helpers::SocketOutputStreamPtr>& oosList);
  +				std::vector<helpers::SocketOutputStreamPtr>& oosList);
   			
   				/**
   				Stops the monitor. This method will not return until