[BACK]Return to servconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/servconf.c between version 1.27 and 1.28

version 1.27, 1999/11/24 19:53:50 version 1.28, 1999/11/24 20:19:37
Line 224 
Line 224 
         unsigned int i;          unsigned int i;
   
         for (i = 0; keywords[i].name; i++)          for (i = 0; keywords[i].name; i++)
                 if (strcmp(cp, keywords[i].name) == 0)                  if (strcasecmp(cp, keywords[i].name) == 0)
                         return keywords[i].opcode;                          return keywords[i].opcode;
   
         fprintf(stderr, "%s: line %d: Bad configuration option: %s\n",          fprintf(stderr, "%s: line %d: Bad configuration option: %s\n",
Line 256 
Line 256 
                 if (!*cp || *cp == '#')                  if (!*cp || *cp == '#')
                         continue;                          continue;
                 cp = strtok(cp, WHITESPACE);                  cp = strtok(cp, WHITESPACE);
                 {  
                         char *t = cp;  
                         for (; *t != 0; t++)  
                                 if ('A' <= *t && *t <= 'Z')  
                                         *t = *t - 'A' + 'a';    /* tolower */  
   
                 }  
                 opcode = parse_token(cp, filename, linenum);                  opcode = parse_token(cp, filename, linenum);
                 switch (opcode) {                  switch (opcode) {
                 case sBadOption:                  case sBadOption:

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28