diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/base/director.c | 1 | ||||
| -rw-r--r-- | src/base/path.h | 4 |
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 |