sprintf(vstring, "SSH-%s-7.7.7\n", (strcmp(version, "1.5") <= 0 ? version : "1.5"));
sprintf(vstring, "SSH-%s-PuTTY\n", (ssh_versioncmp(version, "1.5") <= 0 ? version : "1.5"));
static int do_ssh_init(void) {    char c;    char version[10];    char vstring[40];    int i;#ifdef FWHACK    i = 0;    while (s_read(&c, 1) == 1) {	if (c == 'S' && i < 2) i++;	else if (c == 'S' && i == 2) i = 2;	else if (c == 'H' && i == 2) break;	else i = 0;    }#else    if (s_read(&c,1) != 1 || c != 'S') return 0;    if (s_read(&c,1) != 1 || c != 'S') return 0;    if (s_read(&c,1) != 1 || c != 'H') return 0;#endif    if (s_read(&c,1) != 1 || c != '-') return 0;    i = 0;    while (1) {	if (s_read(&c,1) != 1)	    return 0;	if (i >= 0) {	    if (c == '-') {		version[i] = '\0';		i = -1;	    } else if (i < sizeof(version)-1)		version[i++] = c;	}	else if (c == '\n')	    break;    }    sprintf(vstring, "SSH-%s-7.7.7\n",	    (strcmp(version, "1.5") <= 0 ? version : "1.5"));    s_write(vstring, strlen(vstring));    return 1;}