if (uid == -1 || uid == 0) {
if (uid == (uid_t) -1 || uid == 0) {
int switch_user(char *user, int fb_mode) {	/* NO strtoks */	int doit = 0;	uid_t uid = 0;	char *name, *home;	if (*user == '+') {		doit = 1;		user++;	}	if (strstr(user, "guess=") == user) {		return guess_user_and_switch(user, fb_mode);	}	user2uid(user, &uid, &name, &home);	if (uid == -1 || uid == 0) {		return 0;	}	if (! doit && dpy) {		/* see if this display works: */		char *dstr = DisplayString(dpy);		doit = try_user_and_display(uid, dstr);	}	if (doit) {		int rc = switch_user_env(uid, name, home, fb_mode);		if (rc) {			started_as_root = 2;		}		return rc;	} else {		return 0;	}}