static int rlogin_closing(Plug plug, char *error_msg, int error_code,
static int rlogin_closing(Plug plug, const char *error_msg, int error_code,
static int rlogin_closing(Plug plug, char *error_msg, int error_code,			  int calling_back){    Rlogin rlogin = (Rlogin) plug;    if (rlogin->s) {        sk_close(rlogin->s);        rlogin->s = NULL;    }    if (error_msg) {	/* A socket error has occurred. */	logevent(rlogin->frontend, error_msg);	connection_fatal(rlogin->frontend, "%s", error_msg);    }				       /* Otherwise, the remote side closed the connection normally. */    return 0;}