about summary refs log tree commit diff homepage
path: root/server.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-08 00:30:21 -0500
committerJune McEnroe <june@causal.agency>2019-01-08 00:30:21 -0500
commit92ee655e2e54a3f5ef4a088c6156998f381a6acf (patch)
tree2512071cd129b92adfc35cc3002a1d1a98c4da84 /server.c
parentRemove incorrect default coordinates (diff)
downloadtorus-92ee655e2e54a3f5ef4a088c6156998f381a6acf.tar.gz
torus-92ee655e2e54a3f5ef4a088c6156998f381a6acf.zip
Factor out default paths
Diffstat (limited to '')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index a2e3578..e635a6c 100644
--- a/server.c
+++ b/server.c
@@ -372,8 +372,8 @@ static bool clientTele(struct Client *client, uint8_t port) {
 int main(int argc, char *argv[]) {
 	int error;
 
-	const char *dataPath = "torus.dat";
-	const char *sockPath = "torus.sock";
+	const char *dataPath = DefaultDataPath;
+	const char *sockPath = DefaultSockPath;
 	const char *pidPath = NULL;
 	int opt;
 	while (0 < (opt = getopt(argc, argv, "d:p:s:"))) {