pish->leaveMailOnServer = IMAP_LEAVE_UNSEEN * (atoi(tok) > 0); D_PRINTF (stderr, "leaveMailOnServer=%d\n", pish->leaveMailOnServer);
if (atoi(tok) > 0) {  pish->flags |= leaveMailUnseen | leaveMailOnServer; } else  {  pish->flags &= ~leaveMailUnseen; }
ImapParseNameValue (pmail_command_t cmd,		    char *name,		    char *tok){    pish_command_t	*pish = (pish_command_t *)cmd->data;    /* find a home for the attr/value */    if (pishParseNameValue(cmd, name, tok) == 0)	;				/* done */    else if (strcmp(name, "leavemailonserver") == 0) {	int	v = atoi(tok);	if (v <= 0) {			/* turn off */	    pish->leaveMailOnServer = 0;	} else if (0 == pish->leaveMailOnServer) { /* turn on if < leavemailunseen */	    pish->leaveMailOnServer = 1;	}	D_PRINTF (stderr, "leaveMailOnServer=%d\n", pish->leaveMailOnServer);    }    else if (strcmp(name, "leavemailunseen") == 0) {	pish->leaveMailOnServer = IMAP_LEAVE_UNSEEN * (atoi(tok) > 0);	D_PRINTF (stderr, "leaveMailOnServer=%d\n", pish->leaveMailOnServer);    }    else {	return -1;    }    return 0;}