if ((err = sk_socket_error(raw->s)))
if ((err = sk_socket_error(raw->s)) != NULL)
static char *raw_init(void *frontend_handle, void **backend_handle,		      char *host, int port, char **realhost, int nodelay){    static const struct plug_function_table fn_table = {	raw_closing,	raw_receive,	raw_sent    };    SockAddr addr;    char *err;    Raw raw;    raw = smalloc(sizeof(*raw));    raw->fn = &fn_table;    raw->s = NULL;    *backend_handle = raw;    raw->frontend = frontend_handle;    /*     * Try to find host.     */    {	char *buf;	buf = dupprintf("Looking up host \"%s\"", host);	logevent(raw->frontend, buf);	sfree(buf);    }    addr = name_lookup(host, port, realhost);    if ((err = sk_addr_error(addr)))	return err;    if (port < 0)	port = 23;		       /* default telnet port */    /*     * Open socket.     */    {	char *buf, addrbuf[100];	sk_getaddr(addr, addrbuf, 100);	buf = dupprintf("Connecting to %s port %d", addrbuf, port);	logevent(raw->frontend, buf);	sfree(buf);    }    raw->s = new_connection(addr, *realhost, port, 0, 1, nodelay, (Plug) raw);    if ((err = sk_socket_error(raw->s)))	return err;    sk_addr_free(addr);    return NULL;}