diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 82f7a2bc4..ed126eafb 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,7 @@ +2004-10-16 David Shaw + + * gpgkeys_finger.c [_WIN32] (connect_server): Fix typo. + 2004-10-15 Werner Koch * gpgkeys_ldap.c (main, show_help): Kludge to implement standard diff --git a/keyserver/gpgkeys_finger.c b/keyserver/gpgkeys_finger.c index b1b7fe4d8..488691f28 100644 --- a/keyserver/gpgkeys_finger.c +++ b/keyserver/gpgkeys_finger.c @@ -121,7 +121,7 @@ connect_server (const char *server, unsigned short port) /* Win32 gethostbyname doesn't handle IP addresses internally, so we try inet_addr first on that platform only. */ if ((l = inet_addr (server)) != SOCKET_ERROR) - memcpy (&ad.sin_addr, &l, sizeof l); + memcpy (&addr.sin_addr, &l, sizeof l); else if ((hp = gethostbyname (server))) { if (hp->h_addrtype != AF_INET)