]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
ippfind incorrectly substituted "=port" for service_port.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 19 May 2015 02:36:15 +0000 (02:36 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 19 May 2015 02:36:15 +0000 (02:36 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12638 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-2.0.txt
test/ippfind.c

index 6e5db56c3f048a6f660f5ab0a6e55d77662569dc..2538257fb3b70d85ffa47ff8cfc6f6decd03d713 100644 (file)
@@ -23,6 +23,7 @@ CHANGES IN CUPS V2.0.3
          (<rdar://problem/20495955>)
        - The ppdhtml and ppdpo utilities crashed when the -D option was used
          before a driver information file (STR #4627)
+       - ippfind incorrectly substituted "=port" for service_port.
        - Added Russian translation (STR #4577)
 
 
index bf379f18580aff1e0455d7cf8d027ea3263a8858..10b127a49a86fd2d123954c7d9b357f267392e0f 100644 (file)
@@ -1978,7 +1978,7 @@ exec_program(ippfind_srv_t *service,      /* I - Service */
          else if (!strcmp(keyword, "service_path"))
            strlcpy(tptr, service->resource, sizeof(temp) - (size_t)(tptr - temp));
          else if (!strcmp(keyword, "service_port"))
-           strlcpy(tptr, port + 20, sizeof(temp) - (size_t)(tptr - temp));
+           strlcpy(tptr, port + 21, sizeof(temp) - (size_t)(tptr - temp));
          else if (!strcmp(keyword, "service_scheme"))
            strlcpy(tptr, scheme + 22, sizeof(temp) - (size_t)(tptr - temp));
          else if (!strncmp(keyword, "txt_", 4))