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

Diff for /src/usr.bin/ssh/session.c between version 1.223 and 1.224

version 1.223, 2007/08/23 02:55:51 version 1.224, 2007/09/11 15:47:17
Line 724 
Line 724 
                         ;                          ;
                 if (!*cp || *cp == '#' || *cp == '\n')                  if (!*cp || *cp == '#' || *cp == '\n')
                         continue;                          continue;
                 if (strchr(cp, '\n'))  
                         *strchr(cp, '\n') = '\0';                  cp[strcspn(cp, "\n")] = '\0';
   
                 value = strchr(cp, '=');                  value = strchr(cp, '=');
                 if (value == NULL) {                  if (value == NULL) {
                         fprintf(stderr, "Bad line %u in %.100s\n", lineno,                          fprintf(stderr, "Bad line %u in %.100s\n", lineno,

Legend:
Removed from v.1.223  
changed lines
  Added in v.1.224