diff options
author | Andrew Thompson <andy@fud.org.nz> | 2011-06-29 23:48:19 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-29 23:48:19 +0200 |
commit | 4f4cc7328054272fa2c972244b2b7e8378ad5429 (patch) | |
tree | 4dd51c2dc8201f414dcf98f6897d95698579bdc7 /src/encoder.cpp | |
parent | 543ad30e7d15a8864df26d6d32e57246ede35ae3 (diff) |
Use strrchr to ensure we split off the last colon for the service port
IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup.
Signed-off-by: Andrew Thompson <andy@fud.org.nz>
Diffstat (limited to 'src/encoder.cpp')
0 files changed, 0 insertions, 0 deletions