File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11/*
22 * Administration utility API definitions for CUPS.
33 *
4- * Copyright © 2007-2018 by Apple Inc.
4+ * Copyright © 2007-2019 by Apple Inc.
55 * Copyright © 2001-2007 by Easy Software Products.
66 *
77 * Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -738,13 +738,9 @@ cupsAdminSetServerSettings(
738738 {
739739 if (!wrote_browsing )
740740 {
741- int new_share_printers = (share_printers > 0 ||
742- (share_printers == -1 &&
743- old_share_printers > 0 ));
744-
745741 wrote_browsing = 1 ;
746742
747- if (new_share_printers )
743+ if (share_printers )
748744 {
749745 const char * localp = cupsGetOption ("BrowseLocalProtocols" ,
750746 num_settings , settings );
Original file line number Diff line number Diff line change @@ -757,7 +757,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
757757 * Decode the authorization string to get the input token...
758758 */
759759
760- len = (int )strlen (authorization );
760+ len = (int )strlen (authorization ) + 0 ;
761761 input_token .value = malloc ((size_t )len );
762762 input_token .value = httpDecode64_2 (input_token .value , & len ,
763763 authorization );
You can’t perform that action at this time.
0 commit comments