]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/dbus-protocol.c
* brrr, fix commit r442
[catta] / avahi-daemon / dbus-protocol.c
index b7965a3da7c124acb910160d8beeb8fd728ec27f..27feefc9335a1f2de6f27a2848b690bcf4b76664 100644 (file)
@@ -1549,7 +1549,7 @@ static DBusHandlerResult msg_server_impl(DBusConnection *c, DBusMessage *m, void
         return respond_string(c, m, "blah");
 #else
         
-        if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
+        if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) 
             if ((fd = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
                 char txt[256];
                 snprintf(txt, sizeof(txt), "OS Error: %s", strerror(errno));
@@ -1584,7 +1584,7 @@ static DBusHandlerResult msg_server_impl(DBusConnection *c, DBusMessage *m, void
 #ifdef VALGRIND_WORKAROUND
         return respond_int32(c, m, 1);
 #else
-        if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
+        if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) 
             if ((fd = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
                 char txt[256];
                 snprintf(txt, sizeof(txt), "OS Error: %s", strerror(errno));