myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. e03d0add0a


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. e03d0add0af30135c76de7784720f9a19bb41975
Date: Tue, 06 Oct 2009 06:58:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  e03d0add0af30135c76de7784720f9a19bb41975 (commit)
      from  3e407b8a4b2400dcd8e99b58ecec073bbed2acae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit e03d0add0af30135c76de7784720f9a19bb41975
Author: Giuseppe Scrivano <address@hidden>
Date:   Tue Oct 6 08:58:12 2009 +0200

    Remove cast to XmlMainConfiguration.

diff --git a/myserver/src/server/server.cpp b/myserver/src/server/server.cpp
index e810a37..c8c9fe4 100644
--- a/myserver/src/server/server.cpp
+++ b/myserver/src/server/server.cpp
@@ -775,12 +775,10 @@ int Server::initialize ()
   maxConnections = 0;
   maxConnectionsToAccept = 0;
 
-  /* FIXME: the main configuration type is not always XmlMainConfiguration.  */
   if (genMainConf)
     {
-        configurationFileManager =
-          static_cast<XmlMainConfiguration*> (genMainConf (this,
-                                               mainConfigurationFile.c_str 
()));
+        configurationFileManager = genMainConf (this,
+                                   mainConfigurationFile.c_str ());
     }
   else
     {

-----------------------------------------------------------------------

Summary of changes:
 myserver/src/server/server.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU MyServer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]