Simplify UDP vs. TCP handling in service_announce_services
authorRafał Miłecki <rafal@milecki.pl>
Fri, 10 Feb 2017 21:55:00 +0000 (22:55 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 10 Feb 2017 21:55:00 +0000 (22:55 +0100)
Out of 3 calls of this function only one doesn't have TCP vs. UDP
hardcoded. It's easier to move string check to that place and make this
function take "int tcp" argument instead.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

No differences found