From 8dc9aa85b6707709052b10c94175869725f78707 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Thu, 10 Mar 2016 08:06:57 -0600 Subject: [PATCH] authd: crap, C was taken already, rename reload to H. --- authd/authd.c | 2 +- include/setup.h.in | 5 ++++- ircd/dns.c | 2 +- librb/include/librb_config.h.in | 6 +++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/authd/authd.c b/authd/authd.c index 298d3c4f..62336833 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -28,7 +28,7 @@ static void handle_stat(int parc, char *parv[]); rb_helper *authd_helper = NULL; authd_cmd_handler authd_cmd_handlers[256] = { - ['C'] = handle_reload, + ['H'] = handle_reload, ['D'] = resolve_dns, ['S'] = handle_stat, }; diff --git a/include/setup.h.in b/include/setup.h.in index fce3acbb..a66efc10 100644 --- a/include/setup.h.in +++ b/include/setup.h.in @@ -169,7 +169,7 @@ /* Define to 1 if you have the `socketpair' function. */ #undef HAVE_SOCKETPAIR -/* Define to 1 if you have the header file. */ +/* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the header file. */ @@ -241,6 +241,9 @@ /* This value is set to 1 to indicate that the system argz facility works */ #undef HAVE_WORKING_ARGZ +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + /* Prefix where help files are installed. */ #undef HELP_DIR diff --git a/ircd/dns.c b/ircd/dns.c index 4b067ba6..055c6b33 100644 --- a/ircd/dns.c +++ b/ircd/dns.c @@ -330,7 +330,7 @@ reload_nameservers(void) /* Shit */ return false; } - rb_helper_write(authd_helper, "C D"); + rb_helper_write(authd_helper, "H D"); init_nameserver_cache(); return true; } diff --git a/librb/include/librb_config.h.in b/librb/include/librb_config.h.in index 66125669..95d88994 100644 --- a/librb/include/librb_config.h.in +++ b/librb/include/librb_config.h.in @@ -264,12 +264,12 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Defined to mark profiling is enabled */ -#undef RB_PROFILE - /* Prefix where librb is installed. */ #undef RB_PREFIX +/* Defined to mark profiling is enabled */ +#undef RB_PROFILE + /* Define to 1 if sockaddr has a 'sa_len' member. */ #undef SOCKADDR_IN_HAS_LEN