]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Undo last change.
authorUlrich Drepper <drepper@redhat.com>
Sun, 1 Feb 1998 14:59:43 +0000 (14:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 1 Feb 1998 14:59:43 +0000 (14:59 +0000)
nss/nss_files/files-service.c

index b63fafcd1ee0ff2b170e004670ca63ba53079b16..369b27bf240a14d4d55cc3a7425898d821e7207a 100644 (file)
@@ -53,7 +53,7 @@ DB_LOOKUP (servbyport, 21 + (proto ? strlen (proto) : 0),
           ("=%d/%s", ntohs (port), proto ?: ""),
           {
             /* Must match both port and protocol.  */
-            if (result->s_port == ntohs (port)
+            if (result->s_port == port
                 && (proto == NULL
                     || strcmp (result->s_proto, proto) == 0))
               break;