fiftyoneDegreesDataSetInitStatus _51d_dataset_status = DATA_SET_INIT_STATUS_NOT_SET;
if (!global_51degrees.data_file_path)
- return 0;
+ return ERR_NONE;
if (global.nbthread < 1) {
ha_alert("51Degrees: The thread count cannot be zero or negative.\n");
}
#endif
- return 0;
+ return ERR_NONE;
}
static void deinit_51degrees(void)
struct cache *back, *cache_config, *cache;
struct shared_context *shctx;
int ret_shctx;
- int err_code = 0;
+ int err_code = ERR_NONE;
list_for_each_entry_safe(cache_config, back, &caches_config, list) {
}
if (!nbcheck)
- return 0;
+ return ERR_NONE;
srand((unsigned)time(NULL));
}
}
}
- return 0;
+ return ERR_NONE;
}
{
const char *err;
struct tcpcheck_rule *r;
- int ret = 0;
+ int ret = ERR_NONE;
int check_type;
if (!srv->do_check)
{
struct tcpcheck_rule *chk;
const char *err;
- int ret = 0;
+ int ret = ERR_NONE;
if (!srv->do_agent)
goto out;
*/
static int init_deviceatlas(void)
{
- int err_code = 0;
+ int err_code = ERR_NONE;
if (global_deviceatlas.jsonpath != 0) {
FILE *jsonp;
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_SIGINFO;
sigaction(DEBUGSIG, &sa, NULL);
- return 0;
+ return ERR_NONE;
}
REGISTER_POST_CHECK(init_debug);
flt_init_all()
{
struct proxy *px;
- int err_code = 0;
+ int err_code = ERR_NONE;
for (px = proxies_list; px; px = px->next) {
if (px->disabled) {
{
struct conf_errors *conf_err, *conf_err_back;
struct http_errors *http_errs;
- int rc, err = 0;
+ int rc, err = ERR_NONE;
list_for_each_entry_safe(conf_err, conf_err_back, &px->conf.errors, list) {
if (conf_err->type == 1) {
struct ebpt_node *node;
struct http_error_msg *http_errmsg;
struct htx *htx;
- int err_code = 0;
+ int err_code = ERR_NONE;
node = ebpt_first(&http_error_messages);
while (node) {
*/
int post_sink_resolve()
{
- int err_code = 0;
+ int err_code = ERR_NONE;
struct logsrv *logsrv, *logb;
struct sink *sink;
struct proxy *px;
}
#endif
- return 0;
+ return ERR_NONE;
}
/* Used to free all SSL/TLS protocol message callbacks that were
/* swap root */
LIST_ADD(&tkr, &tlskeys_reference);
LIST_DEL(&tkr);
- return 0;
+ return ERR_NONE;
}
#endif /* SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB */
#ifndef OPENSSL_NO_ENGINE
static int ssl_check_async_engine_count(void) {
- int err_code = 0;
+ int err_code = ERR_NONE;
if (global_ssl.async && (openssl_engines_initialized > 32)) {
ha_alert("ssl-mode-async only supports a maximum of 32 engines.\n");
struct tcpcheck_rule *chk, *back;
char *comment = NULL, *errmsg = NULL;
enum tcpcheck_rule_type prev_action = TCPCHK_ACT_COMMENT;
- int ret = 0;
+ int ret = ERR_NONE;
if (!(px->cap & PR_CAP_BE) || (px->options2 & PR_O2_CHK_ANY) != PR_O2_TCPCHK_CHK) {
deinit_proxy_tcpcheck(px);
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_SIGINFO;
sigaction(WDTSIG, &sa, NULL);
- return 0;
+ return ERR_NONE;
}
REGISTER_POST_CHECK(init_wdt);
// wurfl-data-file not configured, WURFL is not used so don't try to
// configure it.
if (global_wurfl.data_file == NULL)
- return 0;
+ return ERR_NONE;
ha_notice("WURFL: Loading module v.%s\n", HA_WURFL_MODULE_VERSION);
// creating WURFL handler
ha_notice("WURFL: Engine loaded\n");
ha_notice("WURFL: Module load completed\n");
- return 0;
+ return ERR_NONE;
}
static void ha_wurfl_deinit(void)