From 8ca09a2061aeab5dbf8849a8860de134aa6b8913 Mon Sep 17 00:00:00 2001 From: Nay Date: Sat, 29 Oct 2011 00:48:49 +0100 Subject: Revert file Main.cpp that shouldn't have been change in accae0ce5037d (previous commit) --- src/server/worldserver/Main.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/server/worldserver/Main.cpp') diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 6964c617b25..1ce247d9249 100755 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -20,8 +20,6 @@ /// @{ /// \file -#include - #include #include #include @@ -135,14 +133,6 @@ extern int main(int argc, char **argv) { sLog->outError("Invalid or missing configuration file : %s", cfg_file); sLog->outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!"); - - char *path=NULL; - size_t size = 0; - int a; - path=getcwd(path,size); - std::cout<<"\n current Path"<> a; - return 1; } sLog->outString("Using configuration file %s.", cfg_file); -- cgit v1.2.3