Skip to content

Commit

Permalink
lmapd: fix sighub / sighup typo in function name
Browse files Browse the repository at this point in the history
No functional changes.
  • Loading branch information
hmh committed Jul 25, 2024
1 parent 1cf4bf4 commit d7b69e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ lmapd_run(struct lmapd *lmapd)
{ "SIGINT", SIGINT, lmapd_sigint_cb, NULL },
{ "SIGTERM", SIGTERM, lmapd_sigterm_cb, NULL },
{ "SIGCHLD", SIGCHLD, lmapd_sigchld_cb, NULL },
{ "SIGHUP", SIGHUP, lmapd_sighub_cb, NULL },
{ "SIGHUP", SIGHUP, lmapd_sighup_cb, NULL },
{ "SIGUSR1", SIGUSR1, lmapd_sigusr1_cb, NULL },
{ "SIGUSR2", SIGUSR2, lmapd_sigusr2_cb, NULL },
{ NULL, 0, NULL, NULL }
Expand Down
2 changes: 1 addition & 1 deletion src/signals.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ lmapd_sigterm_cb(evutil_socket_t sig, short events, void *context)
*/

void
lmapd_sighub_cb(evutil_socket_t sig, short events, void *context)
lmapd_sighup_cb(evutil_socket_t sig, short events, void *context)
{
struct lmapd *lmapd = (struct lmapd *) context;

Expand Down
2 changes: 1 addition & 1 deletion src/signals.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

extern void lmapd_sigint_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sigterm_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sighub_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sighup_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sigchld_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sigusr1_cb(evutil_socket_t sig, short events, void *context);
extern void lmapd_sigusr2_cb(evutil_socket_t sig, short events, void *context);
Expand Down

0 comments on commit d7b69e8

Please sign in to comment.