} else if (strstr(vnc_connect_str, "ack=") == vnc_connect_str) { ;
void read_vnc_connect_prop(void) {	Atom type;	int format, slen, dlen;	unsigned long nitems = 0, bytes_after = 0;	unsigned char* data = NULL;	int db = 1;	vnc_connect_str[0] = '\0';	slen = 0;	if (! vnc_connect || vnc_connect_prop == None) {		/* not active or problem with VNC_CONNECT atom */		return;	}	/* read the property value into vnc_connect_str: */	do {		if (XGetWindowProperty(dpy, DefaultRootWindow(dpy),		    vnc_connect_prop, nitems/4, VNC_CONNECT_MAX/16, False,		    AnyPropertyType, &type, &format, &nitems, &bytes_after,		    &data) == Success) {			dlen = nitems * (format/8);			if (slen + dlen > VNC_CONNECT_MAX) {				/* too big */				rfbLog("warning: truncating large VNC_CONNECT"				   " string > %d bytes.\n", VNC_CONNECT_MAX);				XFree(data);				break;			}			memcpy(vnc_connect_str+slen, data, dlen);			slen += dlen;			vnc_connect_str[slen] = '\0';			XFree(data);		}	} while (bytes_after > 0);	vnc_connect_str[VNC_CONNECT_MAX] = '\0';	if (! db) {		;	} else if (strstr(vnc_connect_str, "ans=stop:N/A,ans=quit:N/A,ans=")) {		;	} else if (strstr(vnc_connect_str, "qry=stop,quit,exit")) {		;	} else if (strstr(vnc_connect_str, "cmd=") &&	    strstr(vnc_connect_str, "passwd")) {		rfbLog("read VNC_CONNECT: *\n");	} else if (strlen(vnc_connect_str) > 38) {		char trim[100]; 		trim[0] = '\0';		strncat(trim, vnc_connect_str, 38);		rfbLog("read VNC_CONNECT: %s ...\n", trim);			} else {		rfbLog("read VNC_CONNECT: %s\n", vnc_connect_str);	}}