Skip to content

Commit

Permalink
more gateway.c => main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Oct 24, 2018
1 parent 57f56dc commit 9ab405e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
\********************************************************************/

/** @internal
@file gateway.c
@file main.c
@brief Main loop
@author Copyright (C) 2004 Philippe April <papril777@yahoo.com>
@author Copyright (C) 2004 Alexandre Carmel-Veilleux <acv@miniguru.ca>
Expand Down
6 changes: 3 additions & 3 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

static pthread_mutex_t ghbn_mutex = PTHREAD_MUTEX_INITIALIZER;

/* Defined in gateway.c */
/* Defined in main.c */
extern time_t started_time;

/* Defined in clientlist.c */
Expand All @@ -78,7 +78,7 @@ extern pthread_mutex_t config_mutex;
/* Defined in auth.c */
extern unsigned int authenticated_since_start;

/* Defined in gateway.c */
/* Defined in main.c */
extern int created_httpd_threads;
extern int current_httpd_threads;

Expand All @@ -91,7 +91,7 @@ static int _execute_ret(char* msg, int msg_len, const char *cmd)

debug(LOG_DEBUG, "Executing command: %s", cmd);

/* Temporarily get rid of SIGCHLD handler (see gateway.c), until child exits. */
/* Temporarily get rid of SIGCHLD handler (see main.c), until child exits. */
debug(LOG_DEBUG,"Setting default SIGCHLD handler SIG_DFL");
sa.sa_handler = SIG_DFL;
sigemptyset(&sa.sa_mask);
Expand Down

0 comments on commit 9ab405e

Please sign in to comment.