rfbLog("reset_httpport: bad httpport: %d\n", hp);
rfbLog("reset_httpport: invalid httpport: %d\n", hp);
void reset_httpport(int old, int new) {	int hp = new;	if (hp < 0) {		rfbLog("reset_httpport: bad httpport: %d\n", hp);	} else if (hp == old) {		rfbLog("reset_httpport: unchanged httpport: %d\n", hp);	} else if (inetd) {		rfbLog("reset_httpport: cannot set httpport: %d"		    " in inetd.\n", hp);	} else if (screen) {		screen->httpPort = hp;		screen->httpInitDone = FALSE;		if (screen->httpListenSock > -1) {			close(screen->httpListenSock);		}		rfbLog("reset_httpport: setting httpport %d -> %d.\n",		    old == -1 ? hp : old, hp);		rfbHttpInitSockets(screen);	}}