]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
PR #4808: Fix builds without Avahi or mDNSResponder.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 21 Apr 2016 20:21:54 +0000 (16:21 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 21 Apr 2016 20:21:54 +0000 (16:21 -0400)
cups/dest.c

index 17183ff33c1356f919d073a4529e89361322cda4..1e3060338b4a3d97a88cfe054238e72d284d2117 100644 (file)
@@ -617,8 +617,8 @@ cupsConnectDest(
 #if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
         if (strstr(uri, "._tcp"))
           uri = cups_dnssd_resolve(dest, uri, msec, cancel, cb, user_data);
-      }
 #endif /* HAVE_DNSSD || HAVE_AVAHI */
+      }
     }
 
     if (uri)