We can safely delete a connection_t in terminate_connection() now.
This commit is contained in:
parent
01f47c46af
commit
ce976717ea
6 changed files with 15 additions and 58 deletions
|
|
@ -466,7 +466,7 @@ int main(int argc, char **argv)
|
|||
if(!read_server_config())
|
||||
return 1;
|
||||
|
||||
if(event_init() < 0) {
|
||||
if(!event_init()) {
|
||||
logger(LOG_ERR, _("Error initializing libevent!"));
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue