* Applied a patch sent in by Wilfried Goesgens which allows the various
[citadel.git] / citadel / server_main.c
index 6497d37871423acb56d9a9520b05e30272db795f..c29caa7aa9d5cca74356e3be3ed41e20017d3c05 100644 (file)
@@ -183,7 +183,12 @@ int main(int argc, char **argv)
         * Bind the server to a Unix-domain socket.
         */
        CtdlRegisterServiceHook(0,
-                               "citadel.socket",
+#ifndef HAVE_RUN_DIR
+                                        "."
+#else
+                                        RUN_DIR
+#endif
+                               "/citadel.socket",
                                citproto_begin_session,
                                do_command_loop,
                                do_async_loop);