summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-04 16:02:16 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-04 16:02:16 +0100
commit882943d2f884283b276c81ed1c3a608dbf81e262 (patch)
tree1f8f8cae424b8168e7755d87cda718dbf57cb92b /lib
parent1192750d6bf9c11130c52b4d217f3933d70ae658 (diff)
coding style fix
Diffstat (limited to 'lib')
-rw-r--r--lib/gibber/gibber-listener.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gibber/gibber-listener.c b/lib/gibber/gibber-listener.c
index 0bb209a3..dedc2b67 100644
--- a/lib/gibber/gibber-listener.c
+++ b/lib/gibber/gibber-listener.c
@@ -303,13 +303,13 @@ add_listener (GibberListener *self, int family, int type, int protocol,
ret = getsockname (fd, &baddress.addr, &baddrlen);
if (ret == -1)
- {
- DEBUG ("getsockname failed: %s", g_strerror (errno));
- g_set_error (error, GIBBER_LISTENER_ERROR,
- GIBBER_LISTENER_ERROR_FAILED,
- "%s", g_strerror (errno));
- goto error;
- }
+ {
+ DEBUG ("getsockname failed: %s", g_strerror (errno));
+ g_set_error (error, GIBBER_LISTENER_ERROR,
+ GIBBER_LISTENER_ERROR_FAILED,
+ "%s", g_strerror (errno));
+ goto error;
+ }
getnameinfo (&baddress.addr, baddrlen, name, sizeof (name),
portname, sizeof (portname), NI_NUMERICHOST | NI_NUMERICSERV);