From f75d8d2bd146dd8cfe16207377264218b148d197 Mon Sep 17 00:00:00 2001 From: Peter Baumann Date: Tue, 27 Jul 2010 09:09:46 +0200 Subject: PB: more benchmark improvement + correct log output handling --- servercomm/servercomm.cc | 3 +-- servercomm/servercomm.hh | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'servercomm') diff --git a/servercomm/servercomm.cc b/servercomm/servercomm.cc index 5982453..fbee2e3 100644 --- a/servercomm/servercomm.cc +++ b/servercomm/servercomm.cc @@ -117,7 +117,7 @@ static const char rcsid[] = "@(#)servercomm, ServerComm: $Id: servercomm.cc,v 1. using namespace std; // init globals for server initialization -// RMINITGLOBALS('S') +RMINITGLOBALS('S'); // Once again a function prototype. The first one is for the RPC dispatcher // function located in the server stub file rpcif_svc.c and the second one @@ -1241,7 +1241,6 @@ ServerComm::ClientTblElt::releaseTransferStructures() *** This class shouldn't be here, later it will be put in its own file ******************************************************************************************/ -// learned from license.cc #ifdef LINUX extern "C" { extern char *strptime __P ((__const char *__s, __const char *__fmt, struct tm *__tp)); diff --git a/servercomm/servercomm.hh b/servercomm/servercomm.hh index 2d34e69..460fc2c 100644 --- a/servercomm/servercomm.hh +++ b/servercomm/servercomm.hh @@ -64,7 +64,6 @@ class QtData; class MDDObj; class MDDCollIter; class MDDColl; -class RMTimer; class r_Parse_Params; //@ManMemo: Module: {\bf servercomm} @@ -1045,9 +1044,9 @@ class ServerComm void clientEndRequest(); - // constant for clientID + // constant for clientID static const char* HTTPCLIENT; - + private: /// copy constructor is private and therefore can not be used ServerComm( const ServerComm& );//and then why this? : clientTimeout(3600), garbageCollectionInterval(600){;}; -- cgit