25 lines
723 B
Diff
25 lines
723 B
Diff
From 5dca2b18cda90ef8cb66cff7b1f860062f248021 Mon Sep 17 00:00:00 2001
|
|
From: Vchanger <chenzhen126@huawei.com>
|
|
Date: Wed, 19 Apr 2023 14:20:52 +0800
|
|
Subject: [PATCH] Fix segmentation fault of gala-gopher cmd
|
|
|
|
---
|
|
src/daemon/main.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/daemon/main.c b/src/daemon/main.c
|
|
index 60a509c..bb39f08 100644
|
|
--- a/src/daemon/main.c
|
|
+++ b/src/daemon/main.c
|
|
@@ -65,6 +65,7 @@ static int CmdProcessing(int argc, char *argv[])
|
|
static struct option long_options[] = {
|
|
{"help", no_argument, 0, 'h'},
|
|
{"config_path", required_argument, 0, 'c'},
|
|
+ {NULL, 0, 0, NULL}
|
|
};
|
|
|
|
char short_options[] = {
|
|
--
|
|
2.33.0
|
|
|