dunno
This commit is contained in:
parent
bc0bd5fffb
commit
576960f682
@ -134,7 +134,6 @@ static int init(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int retval = -1;
|
||||
struct conf_tupel *tupel;
|
||||
list_for_each_entry(tupel, §ion->tupel, list) {
|
||||
if (strcmp(tupel->option, "server"))
|
||||
@ -202,14 +201,8 @@ static int init(void)
|
||||
|
||||
log_print(LOG_INFO, "p_apache: added server '%s'", entry->name);
|
||||
list_add_tail(&entry->list, &server_list);
|
||||
|
||||
retval = 0;
|
||||
}
|
||||
|
||||
if (retval == -1)
|
||||
free(rx_buf);
|
||||
|
||||
return retval;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int fini(void)
|
||||
|
@ -150,8 +150,6 @@ static int probe(void)
|
||||
|
||||
static int init(void)
|
||||
{
|
||||
int retval = -1;
|
||||
|
||||
struct conf_section *section;
|
||||
section = config_get_section("p_mysql");
|
||||
if (section == NULL) {
|
||||
@ -187,11 +185,8 @@ static int init(void)
|
||||
|
||||
log_print(LOG_DEBUG, "p_mysql: added server '%s'", entry->name);
|
||||
list_add_tail(&entry->list, &server_list);
|
||||
|
||||
retval = 0;
|
||||
}
|
||||
|
||||
return retval;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int fini(void)
|
||||
|
Loading…
Reference in New Issue
Block a user