status >= 1? quality : 1.0);
status >= 1? quality : (float) 1.0);
PUBLIC int  HTSetConfiguration ARGS1(    char *,		config){    HTRuleOp op;    char * line = NULL;    char * pointer = line;    char *word1, *word2, *word3;    float quality, secs, secs_per_byte;    int maxbytes;    int status;    StrAllocCopy(line, config);    {	char * p = strchr(line, '#');	/* Chop off comments */	if (p) *p = 0;    }    pointer = line;    word1 = HTNextField(&pointer);    if (!word1) {	FREE(line);	return 0;    } ; /* Comment only or blank */    word2 = HTNextField(&pointer);    if (0==strcasecomp(word1, "defprot") ||	0==strcasecomp(word1, "protect"))	word3 = pointer;  /* The rest of the line to be parsed by AA module */    else	word3 = HTNextField(&pointer);	/* Just the next word */    if (!word2) {	fprintf(stderr, "HTRule: %s %s\n", RULE_NEEDS_DATA, line);	FREE(line);	return -2;	/*syntax error */    }    if (0==strcasecomp(word1, "suffix")) {	char * encoding = HTNextField(&pointer);	if (pointer) status = sscanf(pointer, "%f", &quality);	else status = 0;	HTSetSuffix(word2,	word3,				encoding ? encoding : "binary",				status >= 1? quality : 1.0);    } else if (0==strcasecomp(word1, "presentation")) {	if (pointer) status = sscanf(pointer, "%f%f%f%d",			    &quality, &secs, &secs_per_byte, &maxbytes);	else status = 0;	HTSetPresentation(word2, word3,		    status >= 1? quality		: 1.0,		    status >= 2 ? secs			: 0.0,		    status >= 3 ? secs_per_byte 	: 0.0,		    status >= 4 ? maxbytes		: 0 );    } else if (0==strncasecomp(word1, "htbin", 5) ||	       0==strncasecomp(word1, "bindir", 6)) {	StrAllocCopy(HTBinDir, word2);	/* Physical /htbin location */    } else if (0==strncasecomp(word1, "search", 6)) {	StrAllocCopy(HTSearchScript, word2);	/* Search script name */    } else {	op =	0==strcasecomp(word1, "map")  ? HT_Map	    :	0==strcasecomp(word1, "pass") ? HT_Pass	    :	0==strcasecomp(word1, "fail") ? HT_Fail	    :	0==strcasecomp(word1, "defprot") ? HT_DefProt	    :	0==strcasecomp(word1, "protect") ? HT_Protect	    :						HT_Invalid;	if (op==HT_Invalid) {	    fprintf(stderr, "HTRule: %s '%s'\n", RULE_INCORRECT, config);	} else {	    HTAddRule(op, word2, word3);	}    }    FREE(line);    return 0;}