[gssdp] Style fixes for previous commit
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Style fixes for previous commit
- Date: Sat, 15 Mar 2014 08:02:29 +0000 (UTC)
commit 9f7d8628cdafe0eb2797ece58af9fd3e91b6511d
Author: Jens Georg <jensg openismus com>
Date: Sat Mar 15 09:01:57 2014 +0100
Style fixes for previous commit
Signed-off-by: Jens Georg <jensg openismus com>
libgssdp/gssdp-resource-browser.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]