netutils/mdns : fix build error without responder configuration
authorJin-Seong Kim <jseong82.kim@samsung.com>
Mon, 29 May 2017 10:14:09 +0000 (19:14 +0900)
committerEunBong Song <eunb.song@samsung.com>
Tue, 11 Jul 2017 01:26:57 +0000 (10:26 +0900)
This commit is patch to fix build error without responder configuration
 - service paramter is used for mdns responsder

Change-Id: Ie5e2a7414ab4cc05cb03e76422c375a4e48e66c0
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/netutils/mdns/mdnsd.c

index e8699c6..cb545d2 100644 (file)
@@ -1355,6 +1355,7 @@ static void main_loop(struct mdnsd *svr)
 
 #if defined(CONFIG_NETUTILS_MDNS_RESPONDER_SUPPORT)
        pthread_mutex_lock(&svr->data_lock);
+
        struct rr_list *svc_le = svr->services;
        for (; svc_le; svc_le = svc_le->next) {
                // set TTL to zero