summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h2
-rwxr-xr-xsrc/base/director.c1
-rw-r--r--src/base/path.h4
3 files changed, 3 insertions, 4 deletions
diff --git a/config.h b/config.h
index f3e482b..ea6f164 100644
--- a/config.h
+++ b/config.h
@@ -1 +1 @@
-#define TUXANCI_NG_VERSION "svn142"
+#define TUXANCI_NG_VERSION "svn143"
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