mirror of
https://github.com/curl/curl.git
synced 2026-07-28 11:53:05 +03:00
Made some const arrays static to avoid unnecessary stack usage.
This commit is contained in:
parent
dca3564cfb
commit
4a2f0fb2be
5 changed files with 7 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue