if (strcmp (cmd, "set") == 0)
if (strncmp (buffer, "set", 3) == 0)
int mutt_string_var_complete (char *buffer, size_t len, int pos){  char cmd[STRING], *pt;  int i;    if (buffer[0] == 0)    return 0;  SKIPWS (buffer);  strncpy (cmd, buffer, pos);  pt = cmd;  pt[pos] = 0;  while (!isspace ((unsigned char) *pt))    pt++;  *pt = 0;  pt = buffer + pos;  while ((pt > buffer) && !isspace ((unsigned char) *pt))    pt--;  pt++; /* move past the space */  if (*pt == '=') /* abort if no var before the '=' */    return 0;  if (strcmp (cmd, "set") == 0)  {    for (i = 0; MuttVars[i].option; i++)      if (DTYPE(MuttVars[i].type) == DT_STR && 	  /* ignore the trailing '=' when comparing */	  strncmp (MuttVars[i].option, pt, strlen (pt) - 1) == 0)      {	char tmp [LONG_STRING];	strcpy (tmp, pt);	snprintf (pt, len, "%s\"%s\"",tmp, NONULL (*((char **) MuttVars[i].data)));	return 1;      }  }  return 0;}