{
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
/* for debug purposes */
- static const char *names[]={
+ static const char * const names[]={
"STOP",
"WAIT220",
"AUTH",
char hbuf[NI_MAXHOST];
struct sockaddr *sa=(struct sockaddr *)&ss;
char tmp[1024];
- static const char *mode[] = { "EPRT", "PORT", NULL };
+ static const char * const mode[] = { "EPRT", "PORT", NULL };
int rc;
int error;
char *host=NULL;
*/
- static const char *mode[] = { "EPSV", "PASV", NULL };
+ static const char * const mode[] = { "EPSV", "PASV", NULL };
int modeoff;
#ifdef PF_INET6
{
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
/* for debug purposes */
- static const char *names[] = {
+ static const char * const names[] = {
"SSH_STOP",
"SSH_S_STARTUP",
"SSH_AUTHLIST",