diff options
| author | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-29 19:48:58 +0000 |
|---|---|---|
| committer | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-29 19:48:58 +0000 |
| commit | 2f3197efb3f9dd74382d17c7bee038bdf592903a (patch) | |
| tree | 1aa7e9773e6b2d03cee6ca6e3a2f2fbd2fac8ded /src/base | |
| parent | 822fb942beb72b9a4eeb6346d9ae919d1da3a4ce (diff) | |
- the project was renamed from tuxanci-ng to tuxanci
git-svn-id: http://opensvn.csie.org/tuxanci_ng@182 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base')
| -rwxr-xr-x | src/base/homeDirector.h | 2 | ||||
| -rw-r--r-- | src/base/path.h | 12 | ||||
| -rw-r--r-- | src/base/proto.c | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/base/homeDirector.h b/src/base/homeDirector.h index 85f8172..c8b1114 100755 --- a/src/base/homeDirector.h +++ b/src/base/homeDirector.h @@ -5,7 +5,7 @@ #include "main.h" -#define HOMEDIRECTOR_NAME ".tuxanci-ng" +#define HOMEDIRECTOR_NAME ".tuxanci" extern void createHomeDirector(); extern char *getHomeDirector(); diff --git a/src/base/path.h b/src/base/path.h index 294e634..f547f69 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -14,20 +14,20 @@ #endif #ifndef PUBLIC_SERVER - #define PATH_DIR PREFIX "/share/tuxanci-ng/" + #define PATH_DIR PREFIX "/share/tuxanci/" #ifndef __WIN32__ - #define PATH_MODULES PREFIX "/lib/tuxanci-ng/" + #define PATH_MODULES PREFIX "/lib/tuxanci/" #else #define PATH_MODULES PREFIX "/bin/" #endif #else - #define PATH_DIR PREFIX "/share/tuxanci-ng-server/" + #define PATH_DIR PREFIX "/share/tuxanci-server/" #ifndef __WIN32__ - #define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/" - #define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf" + #define PATH_MODULES PREFIX "/lib/tuxanci-server/" + #define SERVER_CONFIG "/etc/tuxanci-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-server/server.conf" #endif #endif diff --git a/src/base/proto.c b/src/base/proto.c index 453398f..e95ca4e 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -77,7 +77,7 @@ void proto_send_hello_client(char *name) { char msg[STR_PROTO_SIZE]; - sprintf(msg, "hello %s %s\n", TUXANCI_NG_VERSION, name); + sprintf(msg, "hello %s %s\n", TUXANCI_VERSION, name); sendServer(msg); } @@ -96,7 +96,7 @@ void proto_recv_hello_server(client_t *client, char *msg) sscanf(msg, "%s %s %s", cmd, version, name); - if( strncmp(version, TUXANCI_NG_VERSION, strlen(TUXANCI_NG_VERSION)) != 0 ) + if( strncmp(version, TUXANCI_VERSION, strlen(TUXANCI_VERSION)) != 0 ) { proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION); eventMsgInCheckFront(client); @@ -137,7 +137,7 @@ void proto_send_status_server(int type, client_t *client) name = getServerConfigFileValue("NAME", "noname"); #endif - version = TUXANCI_NG_VERSION; + version = TUXANCI_VERSION; clients = getCurrentArena()->spaceTux->list->count; maxclients = getServerMaxClients(); uptime = (unsigned int)getUpdateServer(); |