]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/ippfind.c
The ippfind utility reported the wrong port numbers when compiled against Avahi
[thirdparty/cups.git] / test / ippfind.c
index d3d30cdc6deb5bd557c71acbd7e3d08e294a2bbe..9294a48bab279ad71f2901c8bf186cd7ce1f78dc 100644 (file)
@@ -2618,7 +2618,7 @@ resolve_callback(
 
   service->is_resolved = 1;
   service->host        = strdup(hostTarget);
-  service->port        = ntohs(port);
+  service->port        = port;
 
  /*
   * Loop through the TXT key/value pairs and add them to an array...