From ea0d38e43e09982679585f6d679e12d79c4389d5 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 19 Dec 2025 22:34:36 +0800
Subject: [PATCH] update socketd code to fix break bug
---
project/4.mqttd/booster/proc.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/project/4.mqttd/booster/proc.c b/project/4.mqttd/booster/proc.c
index b55b202..6cb2109 100644
--- a/project/4.mqttd/booster/proc.c
+++ b/project/4.mqttd/booster/proc.c
@@ -3,7 +3,7 @@
* All rights reserved.
*
* Filename: proc.c
- * Description: This file is the process API
+ * Description: This file is the process/thread API
*
* Version: 1.0.0(7/06/2020)
* Author: Guo Wenxue <guowenxue@gmail.com>
@@ -60,7 +60,6 @@
}
}
-
/* install default signal process functions */
void install_default_signal(void)
{
@@ -185,8 +184,6 @@
return 0;
}
-
-
/* ****************************************************************************
* FunctionName: record_daemon_pid
* Description : Record the running daemon program PID to the file "pid_file"
@@ -345,8 +342,6 @@
return 0;
}
-
-
/* ****************************************************************************
* FunctionName: set_daemon_running
* Description : Set the programe running as daemon if it's not running and record
@@ -398,8 +393,6 @@
goto CleanUp;
CleanUp:
-
-
if( thread_id )
{
if( rv )
@@ -413,7 +406,6 @@
return rv;
}
-
/* excute a linux command by system() */
void exec_system_cmd(const char *format, ...)
{
@@ -428,5 +420,3 @@
system(cmd);
}
-
-
--
Gitblit v1.10.0