]> git.pld-linux.org Git - packages/openssh.git/commitdiff
obsolete
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 8 Nov 2000 09:45:09 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openssh-canonname.patch -> 1.2

openssh-canonname.patch [deleted file]

diff --git a/openssh-canonname.patch b/openssh-canonname.patch
deleted file mode 100644 (file)
index b741d51..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -urN openssh-2.2.0p1.org/ssh.c openssh-2.2.0p1/ssh.c
---- openssh-2.2.0p1.org/ssh.c  Sat Oct 28 21:15:52 2000
-+++ openssh-2.2.0p1/ssh.c      Sat Oct 28 21:15:33 2000
-@@ -545,8 +545,14 @@
-               hints.ai_socktype = SOCK_STREAM;
-               errgai = getaddrinfo(host, NULL, &hints, &ai);
-               if (errgai == 0) {
--                      if (ai->ai_canonname != NULL)
--                              host = xstrdup(ai->ai_canonname);
-+                      if (ai->ai_canonname != NULL) {
-+                              struct addrinfo *aic = NULL;
-+                              hints.ai_flags = 0;
-+                              if (getaddrinfo(ai->ai_canonname, NULL, &hints, &aic) == 0) {
-+                                      host = xstrdup(ai->ai_canonname);
-+                                      freeaddrinfo(aic);
-+                              }
-+                      }
-                       freeaddrinfo(ai);
-               }
-       }
This page took 0.681339 seconds and 4 git commands to generate.