aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index ca4d2ac61..481a8c5f7 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -252,7 +252,7 @@ static void state(struct connectdata *conn, sshstate state)
{
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
/* for debug purposes */
- const char *names[] = {
+ static const char *names[] = {
"SSH_STOP",
"SSH_S_STARTUP",
"SSH_AUTHLIST",