Return to compat.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.18, 2000/07/08 23:17:31 | version 1.19, 2000/07/09 01:27:32 | ||
---|---|---|---|
|
|
||
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) |