From ff70a91de0181fdff42faa430973aabf7094906c Mon Sep 17 00:00:00 2001 From: scarab Date: Tue, 15 Jul 2008 09:50:31 +0000 Subject: - oprava path.h a odstraneni debugu v driector.c git-svn-id: http://opensvn.csie.org/tuxanci_ng@143 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/director.c | 1 - src/base/path.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/base') diff --git a/src/base/director.c b/src/base/director.c index fd89611..68bfae5 100755 --- a/src/base/director.c +++ b/src/base/director.c @@ -44,7 +44,6 @@ director_t* loadDirector(char *s) strcat(path, "/"); strcat(path, s); } - printf("%s\n", path); new->path = strdup(path); dir = opendir(new->path); diff --git a/src/base/path.h b/src/base/path.h index 346f71d..75a2f55 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -9,8 +9,8 @@ #ifndef __WIN32__ #define PREFIX "/usr/local" #else + #define PREFIX ".." #endif -#define PREFIX ".." #endif #ifndef PUBLIC_SERVER @@ -27,7 +27,7 @@ #define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf" #else #define PATH_MODULES PREFIX "/bin" - #define SERVER_CONFIG PREFIX "/etc/tuxanci-ng-server/server.conf" + #define SERVER_CONFIG PREFIX "/etc/tuxanci-ng-server/server.conf" #endif #endif -- cgit v1.2.3