summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-12 18:35:36 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-12 18:35:36 +0100
commitf3ebcbc4986d76d0c8a49d107938c57c30333737 (patch)
treee3c13e8ad017fcac83352e3902db4681039e74e4 /src/serv.c
parentfe5385198f94ad85c0cb783e96e55561a51e5915 (diff)
downloadgnutls-f3ebcbc4986d76d0c8a49d107938c57c30333737.tar.gz
initialize pointer
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serv.c b/src/serv.c
index 06b0d119eb..3f65605994 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -425,7 +425,7 @@ static char *peer_print_info(gnutls_session_t session, int *ret_length,
char *http_buffer;
gnutls_kx_algorithm_t kx_alg;
size_t len = 20 * 1024 + strlen(header);
- char *crtinfo, *crtinfo_old = NULL;
+ char *crtinfo = NULL, *crtinfo_old = NULL;
size_t ncrtinfo = 0;
if (verbose == 0) {