rem: ssh_client = getenv("SSH_CLIENT"); if (ssh_client != NULL) {
add: if ((ssh_client = getenv("SSH_CLIENT")) != NULL) {
context: char *client_addr(int fd){	struct sockaddr_storage ss;	socklen_t length = sizeof ss;	char *ssh_client, *p;	static char addr_buf[100];	static int initialised;	if (initialised) return addr_buf;	initialised = 1;	ssh_client = getenv("SSH_CLIENT");	if (ssh_client != NULL) {		strlcpy(addr_buf, ssh_client, sizeof(addr_buf));		/* truncate SSH_CLIENT to just IP address */		p = strchr(addr_buf, ' ');		if (p)			*p = '\0';		else			strlcpy(addr_buf, "0.0.0.0", sizeof("0.0.0.0"));	} else		client_sockaddr(fd, &ss, &length);	getnameinfo((struct sockaddr *)&ss, length,		addr_buf, sizeof(addr_buf), NULL, 0, NI_NUMERICHOST);	return addr_buf;}