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

Diff for /src/usr.bin/ssh/compat.c between version 1.18 and 1.19

version 1.18, 2000/07/08 23:17:31 version 1.19, 2000/07/09 01:27:32
Line 87 
Line 87 
         if (spec == NULL)          if (spec == NULL)
                 return ret;                  return ret;
         q = s = xstrdup(spec);          q = s = xstrdup(spec);
         for ((p = strsep(&q, SEP)); p; (p = strsep(&q, SEP))) {          for ((p = strsep(&q, SEP)); p && *p != '\0'; (p = strsep(&q, SEP))) {
                 switch(atoi(p)) {                  switch(atoi(p)) {
                 case 1:                  case 1:
                         if (ret == SSH_PROTO_UNKNOWN)                          if (ret == SSH_PROTO_UNKNOWN)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19