[gssdp] Add missing goto on error while setting TTL
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Add missing goto on error while setting TTL
- Date: Thu, 30 Jun 2011 13:52:12 +0000 (UTC)
commit 8fb19991b891f3244367895db8935c51e331fe26
Author: Jens Georg <mail jensge org>
Date: Thu Jun 30 15:43:53 2011 +0200
Add missing goto on error while setting TTL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=653733
libgssdp/gssdp-socket-source.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c
index fc834ea..46fd7b8 100644
--- a/libgssdp/gssdp-socket-source.c
+++ b/libgssdp/gssdp-socket-source.c
@@ -205,6 +205,7 @@ gssdp_socket_source_do_init (GInitable *initable,
inner_error,
"Failed to set TTL");
+ goto error;
}
/* Set up additional things according to the type of socket desired */
if (self->priv->type == GSSDP_SOCKET_SOURCE_TYPE_MULTICAST) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]