summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 0af48f4..2a67f13 100644
--- a/src/options.c
+++ b/src/options.c
@@ -106,6 +106,16 @@ static void option_pid_file(const char *arg) {
}
+#ifdef WITH_STATUS_SOCKET
+
+/** Handles the --status-socket option */
+static void option_status_socket(const char *arg) {
+ free(conf.status_socket);
+ conf.status_socket = fastd_strdup(arg);
+}
+
+#endif
+
/** Handles the --config option */
static void option_config(const char *arg) {
if (!strcmp(arg, "-"))