From: Jens Georg Date: Sat, 15 Mar 2014 08:01:57 +0000 (+0100) Subject: Style fixes for previous commit X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f7d8628cdafe0eb2797ece58af9fd3e91b6511d;p=profile%2Fivi%2FGSSDP.git Style fixes for previous commit Signed-off-by: Jens Georg --- diff --git a/libgssdp/gssdp-resource-browser.c b/libgssdp/gssdp-resource-browser.c index 5aaa3d0..bd52f80 100644 --- a/libgssdp/gssdp-resource-browser.c +++ b/libgssdp/gssdp-resource-browser.c @@ -749,13 +749,13 @@ resource_available (GSSDPResourceBrowser *resource_browser, if (resource) { for (it1 = locations, it2 = resource->locations; it1 && it2; - it1 = it1->next, it2 = it2->next - ) { - if (strcmp((const char *) it1->data, - (const char *) it2->data) != 0 - ) { - resource_unavailable(resource_browser, headers); + it1 = it1->next, it2 = it2->next) { + if (strcmp ((const char *) it1->data, + (const char *) it2->data) != 0) { + resource_unavailable (resource_browser, headers); + /* Will be destroyed by resource_unavailable */ resource = NULL; + break; } }