Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'BrowseProtocols none' not accepted despite documentation #2200

Closed
michaelrsweet opened this issue Jan 17, 2007 · 2 comments
Closed

'BrowseProtocols none' not accepted despite documentation #2200

michaelrsweet opened this issue Jan 17, 2007 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.7
CUPS.org User: twaugh.redhat

The documentation gives 'BrowseProtocols none' as an example of how to use it, but the parser doesn't understand that.

Untested patch attached.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"cups-browse-protocols-none.patch":

--- cups-1.2.7/scheduler/conf.c.browse-protocols-none 2007-01-17 17:32:31.000000000 +0000
+++ cups-1.2.7/scheduler/conf.c 2007-01-17 17:32:32.000000000 +0000
@@ -2030,7 +2030,7 @@
protocols |= BROWSE_DNSSD;
else if (!strcasecmp(valstart, "all"))
protocols |= BROWSE_ALL;

  • else
  • else if (strcasecmp(valstart, "none"))
    return (-1);

for (valstart = valend; *valstart; valstart ++)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant