From: msweet Date: Fri, 22 May 2015 19:06:41 +0000 (+0000) Subject: Don't return an error for browsing. X-Git-Tag: v2.2b1~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab9f682cddee9b67a567ed719576e758eb61095;p=thirdparty%2Fcups.git Don't return an error for browsing. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12659 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/backend/dnssd.c b/backend/dnssd.c index 5f0ec9e045..29e003fb25 100644 --- a/backend/dnssd.c +++ b/backend/dnssd.c @@ -3,7 +3,7 @@ * * DNS-SD discovery backend for CUPS. * - * Copyright 2008-2014 by Apple Inc. + * Copyright 2008-2015 by Apple Inc. * * These coded instructions, statements, and computer programs are the * property of Apple Inc. and are protected by Federal copyright @@ -318,7 +318,7 @@ main(int argc, /* I - Number of command-line args */ if ((simple_poll = avahi_simple_poll_new()) == NULL) { fputs("DEBUG: Unable to create Avahi simple poll object.\n", stderr); - return (1); + return (0); } avahi_simple_poll_set_func(simple_poll, poll_callback, NULL); @@ -328,7 +328,7 @@ main(int argc, /* I - Number of command-line args */ if (!client) { fputs("DEBUG: Unable to create Avahi client.\n", stderr); - return (1); + return (0); } browsers = 6;