commit | add993477bb2bc17e547912c6530745d1dd58ddc | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <sgarzare@redhat.com> | Fri May 17 15:47:47 2019 +0200 |
committer | Jason Wang <jasowang@redhat.com> | Tue Jul 02 10:21:06 2019 +0800 |
tree | 038077c28a1b918a6ee4bccfd3ff898691aba30a | |
parent | c1112b2d3dfb2c4102f73eea8198c4fe9ff50883 [diff] |
net: use g_strsplit() for parsing host address and port Use the glib function to split host address and port in the parse_host_port() function. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>