opt/cups/str4523.patch

21 lines
534 B
Diff

Index: test/ippserver.c
===================================================================
--- test/ippserver.c (revision 12268)
+++ test/ippserver.c (working copy)
@@ -419,12 +419,12 @@
* Globals...
*/
-# ifdef HAVE_DNSSD
+#ifdef HAVE_DNSSD
static DNSServiceRef DNSSDMaster = NULL;
-# else /* HAVE_AVAHI */
+#elif defined(HAVE_AVAHI)
static AvahiThreadedPoll *DNSSDMaster = NULL;
static AvahiClient *DNSSDClient = NULL;
-# endif /* HAVE_DNSSD */
+#endif /* HAVE_DNSSD */
static int KeepFiles = 0,
Verbosity = 0;