aboutsummaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-01-26 19:22:53 -0500
committerFranklin Wei <git@fwei.tk>2016-01-26 19:27:13 -0500
commit3b8df7146fe31518080f3a38eee98222d97ee5b2 (patch)
tree7fd7dffd98d0bfd3bdf20e24b184ec5440ca3909 /src/globals.h
parentcbe6bc14de8ad8fd035e0598a3fcc23fb38cfa1a (diff)
downloadnetcosm-3b8df7146fe31518080f3a38eee98222d97ee5b2.zip
netcosm-3b8df7146fe31518080f3a38eee98222d97ee5b2.tar.gz
netcosm-3b8df7146fe31518080f3a38eee98222d97ee5b2.tar.bz2
netcosm-3b8df7146fe31518080f3a38eee98222d97ee5b2.tar.xz
fix a memory leak, bumps version to 0.4.0-rc1
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/globals.h b/src/globals.h
index fcf6784..5edc153 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -28,7 +28,6 @@
#include <arpa/inet.h>
#include <arpa/telnet.h>
#include <assert.h>
-#include <bsd/stdlib.h> // for arc4random
#include <bsd/string.h> // for strlcat
#include <ctype.h>
#include <errno.h>
@@ -64,9 +63,10 @@
#define WORLDFILE "world.dat"
#define LOGFILE "netcosm.log"
-#define WORLD_MAGIC 0x31415926
+#define WORLD_MAGIC 0x31415926
+#define USERDB_MAGIC 0x27182818
#define MAX_FAILURES 3
-#define NETCOSM_VERSION "0.3.0"
+#define NETCOSM_VERSION "0.4.0-rc1"
/* username length */
#define MAX_NAME_LEN 32