]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/ippfind.c
Import CUPS v2.0.3
[thirdparty/cups.git] / test / ippfind.c
index 7e301b134e08c965739e2d080603539b5b44f22a..109944417708d86376f01f27401d61eaf6a2826a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ippfind.c 12465 2015-02-01 02:47:23Z msweet $"
+ * "$Id: ippfind.c 12639 2015-05-19 02:36:30Z msweet $"
  *
  * Utility to find IPP printers via Bonjour/DNS-SD and optionally run
  * commands such as IPP and Bonjour conformance tests.  This tool is
@@ -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))
@@ -2843,5 +2843,5 @@ show_version(void)
 
 
 /*
- * End of "$Id: ippfind.c 12465 2015-02-01 02:47:23Z msweet $".
+ * End of "$Id: ippfind.c 12639 2015-05-19 02:36:30Z msweet $".
  */