Skip to content

Commit 3899a7e

Browse files
einval22wlallemand
authored andcommitted
MINOR: startup: prefix apply_master_worker_mode with mworker_*
This patch prepares the move of apply_master_worker_mode in mworker.c. So, let's at first rename it to mworker_apply_master_worker_mode.
1 parent dee247c commit 3899a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/haproxy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ static void handle_pidfile()
18031803
* (master CLI applet is attached in master process to MASTER proxy). This
18041804
* function returns only if everything is OK. If something fails, it exits.
18051805
*/
1806-
static void apply_master_worker_mode()
1806+
static void mworker_apply_master_worker_mode()
18071807
{
18081808
int worker_pid;
18091809
struct mworker_proc *child;
@@ -3494,7 +3494,7 @@ int main(int argc, char **argv)
34943494
/* fork and run binary from command keyword in program section */
34953495
mworker_ext_launch_all();
34963496
/* fork worker */
3497-
apply_master_worker_mode();
3497+
mworker_apply_master_worker_mode();
34983498
}
34993499

35003500
/* Worker, daemon, foreground modes read the rest of the config */

0 commit comments

Comments
 (0)