summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-15 09:50:31 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-15 09:50:31 +0000
commitff70a91de0181fdff42faa430973aabf7094906c (patch)
tree329b5badfc240fcbfbe5a1fa7cae3398e9f5bd23 /src
parent0990235d680febd78ea43aa59b5af9796aa22232 (diff)
- oprava path.h a odstraneni debugu v driector.c
git-svn-id: http://opensvn.csie.org/tuxanci_ng@143 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src')
-rwxr-xr-xsrc/base/director.c1
-rw-r--r--src/base/path.h4
2 files changed, 2 insertions, 3 deletions
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