From e1a3eca81c48b9b8ce215953e67d18354c3adf5d Mon Sep 17 00:00:00 2001 From: msweet Date: Mon, 22 Jul 2013 14:57:14 +0000 Subject: [PATCH] The ippfind utility reported the wrong port numbers when compiled against Avahi () git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11164 a1ca3aef-8c08-0410-bb20-df032aa958be --- CHANGES.txt | 4 +++- test/ippfind.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 8f1728d2c..4fccbb039 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,8 +1,10 @@ -CHANGES.txt - 1.7.0 - 2013-07-16 +CHANGES.txt - 1.7.0 - 2013-07-22 -------------------------------- CHANGES IN CUPS V1.7.0 + - The ippfind utility reported the wrong port numbers when compiled + against Avahi () - httpGetFd, httpGetFile, httpPutFd, and httpPutFile did not automatically reconnect if the server closed the connecion after the previous response. diff --git a/test/ippfind.c b/test/ippfind.c index d3d30cdc6..9294a48ba 100644 --- a/test/ippfind.c +++ b/test/ippfind.c @@ -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... -- 2.39.5