aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-03-20 12:20:04 +0000
committerWerner Koch <[email protected]>2015-03-20 12:20:04 +0000
commit5136e39c6466de90697153ea253c4b540c1f7d1a (patch)
tree6083e6af490d6f61dd8c6d247c9f1d380bfa33d1
parentgpg: Emit status line NEWSIG before signature verification starts. (diff)
downloadgnupg-5136e39c6466de90697153ea253c4b540c1f7d1a.tar.gz
gnupg-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 <[email protected]>
-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));