w32: Allow building again.
authorWerner Koch <wk@gnupg.org>
Tue, 20 Oct 2015 15:33:18 +0000 (17:33 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 20 Oct 2015 15:33:18 +0000 (17:33 +0200)
* dirmngr/http.c (connect_server): Fix called function name.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/http.c

index ab32bd8..c2a0431 100644 (file)
@@ -2232,7 +2232,7 @@ connect_server (const char *server, unsigned short port,
 
       memset(&addr,0,sizeof(addr));
 
-      sock = assuan_sock_socket (AF_INET, SOCK_STREAM, 0);
+      sock = assuan_sock_new (AF_INET, SOCK_STREAM, 0);
       if (sock == ASSUAN_INVALID_FD)
        {
          log_error ("error creating socket: %s\n", strerror (errno));