savedhost = malloc(1+strlen(host));
savedhost = smalloc(1+strlen(host));
static char *connect_to_host(char *host, int port, char **realhost){    SockAddr addr;    char *err;#ifdef FWHACK    char *FWhost;    int FWport;#endif    savedhost = malloc(1+strlen(host));    if (!savedhost)	fatalbox("Out of memory");    strcpy(savedhost, host);    if (port < 0)	port = 22;		       /* default ssh port */    savedport = port;#ifdef FWHACK    FWhost = host;    FWport = port;    host = FWSTR;    port = 23;#endif    /*     * Try to find host.     */    addr = sk_namelookup(host, realhost);    if ( (err = sk_addr_error(addr)) )	return err;#ifdef FWHACK    *realhost = FWhost;#endif    /*     * Open socket.     */    s = sk_new(addr, port, ssh_receive);    if ( (err = sk_socket_error(s)) )	return err;#ifdef FWHACK    sk_write(s, "connect ", 8);    sk_write(s, FWhost, strlen(FWhost));    {	char buf[20];	sprintf(buf, " %d\n", FWport);	sk_write(s, buf, strlen(buf));    }#endif    return NULL;}