summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-03-20 13:20:04 +0100
committerWerner Koch <wk@gnupg.org>2015-03-20 13:20:04 +0100
commit5136e39c6466de90697153ea253c4b540c1f7d1a (patch)
tree6083e6af490d6f61dd8c6d247c9f1d380bfa33d1 /common
parentgpg: Emit status line NEWSIG before signature verification starts. (diff)
downloadgnupg2-5136e39c6466de90697153ea253c4b540c1f7d1a.tar.xz
gnupg2-5136e39c6466de90697153ea253c4b540c1f7d1a.zip
common: Fix syntax error when building with gnutls
* common/http.c (send_request): Add missing comma. -- This fixes commit dc10d46. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common')
-rw-r--r--common/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/http.c b/common/http.c
index 12e3fcb89..271257df0 100644
--- a/common/http.c
+++ b/common/http.c
@@ -1453,7 +1453,7 @@ send_request (http_t hd, const char *httphost, const char *auth,
# elif HTTP_USE_GNUTLS
rc = gnutls_server_name_set (hd->session->tls_session,
GNUTLS_NAME_DNS,
- hd->session->servername
+ hd->session->servername,
strlen (hd->session->servername));
if (rc < 0)
log_info ("gnutls_server_name_set failed: %s\n", gnutls_strerror (rc));