mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
This commit is contained in:
parent
36667c357b
commit
a2cd03ffe1
@ -1,3 +1,7 @@
|
||||
2004-10-16 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
|
||||
|
||||
2004-10-15 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgkeys_ldap.c (main, show_help): Kludge to implement standard
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user