diff options
author | June McEnroe <june@causal.agency> | 2019-01-08 00:30:21 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-08 00:30:21 -0500 |
commit | 643af427588de649b66717d9d7eed19d3d147f62 (patch) | |
tree | fd4db42dc8742c7fd564daa78e62e3460dc7e302 /server.c | |
parent | Remove incorrect default coordinates (diff) | |
download | torus-643af427588de649b66717d9d7eed19d3d147f62.tar.gz torus-643af427588de649b66717d9d7eed19d3d147f62.zip |
Factor out default paths
Diffstat (limited to '')
-rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c index b01e81d..9d1fe16 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:"))) { |