mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
EOF
This commit is contained in:
parent
28c34bd101
commit
e78ba96f3b
|
@ -1345,6 +1345,8 @@ int net_addr_from_str(NETADDR *addr, const char *string)
|
|||
str++;
|
||||
if(parse_uint16(&addr->port, &str))
|
||||
return -1;
|
||||
if(*str != '\0')
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue