aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-20 15:33:18 +0000
committerWerner Koch <[email protected]>2015-10-20 15:33:18 +0000
commitc83b627174f46e841f1ccc018322fe499969c267 (patch)
tree5a1fee3e276dec52fcd2e939f05397a956e84a2c /dirmngr/http.c
parentbuild: Allow building without SQLlite support. (diff)
downloadgnupg-c83b627174f46e841f1ccc018322fe499969c267.tar.gz
gnupg-c83b627174f46e841f1ccc018322fe499969c267.zip
w32: Allow building again.
* dirmngr/http.c (connect_server): Fix called function name. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index ab32bd812..c2a043119 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -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));