Continue appending the rest of the given addresses even if creating one addr fails. #403
This commit is contained in:
parent
e0e95bb748
commit
355147842b
1 changed files with 2 additions and 3 deletions
|
@ -537,9 +537,8 @@ namespace pvpgn
|
|||
{
|
||||
if (!(addr = addr_create_str(tok, defipaddr, defport)))
|
||||
{
|
||||
eventlog(eventlog_level_error, __FUNCTION__, "could not create addr");
|
||||
xfree(tstr);
|
||||
return -1;
|
||||
eventlog(eventlog_level_error, __FUNCTION__, "could not create addr for {}", tok);
|
||||
continue;
|
||||
}
|
||||
list_append_data(addrlist, addr);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue