Return to sshconnect.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.72, 2000/05/04 09:50:22 | version 1.73, 2000/05/17 08:20:15 | ||
---|---|---|---|
|
|
||
return 1; | return 1; | ||
} | } | ||
char * | |||
chop(char *s) | |||
{ | |||
char *t = s; | |||
while (*t) { | |||
if(*t == '\n' || *t == '\r') { | |||
*t = '\0'; | |||
return s; | |||
} | |||
t++; | |||
} | |||
return s; | |||
} | |||
/* | /* | ||
* Waits for the server identification string, and sends our own | * Waits for the server identification string, and sends our own | ||
* identification string. | * identification string. |