while(isspace((*interval_str)[0]) == FALSE) {
while(isspace((int) (*interval_str)[0]) == FALSE) {
parse_time_duration(char **interval_str){	gboolean is_time = FALSE;	ha_time_t *diff = NULL;	crm_malloc0(diff, sizeof(ha_time_t));	crm_malloc0(diff->has, sizeof(ha_has_time_t));	CRM_DEV_ASSERT(interval_str != NULL);	CRM_DEV_ASSERT(strlen(*interval_str) > 0);		CRM_DEV_ASSERT((*interval_str)[0] == 'P');	(*interval_str)++;		while(isspace((*interval_str)[0]) == FALSE) {		int an_int = 0;		char ch = 0;		if((*interval_str)[0] == 'T') {			is_time = TRUE;			(*interval_str)++;		}				if(parse_int(interval_str, 10, 0, &an_int) == FALSE) {			break;		}		ch = (*interval_str)[0];		(*interval_str)++;		crm_debug_4("%c=%d", ch, an_int);				switch(ch) {			case 0:				return diff;				break;			case 'Y':				diff->years = an_int;				diff->has->years = TRUE;				break;			case 'M':				if(is_time) {					diff->minutes = an_int;					diff->has->minutes = TRUE;				} else {					diff->months = an_int;					diff->has->months = TRUE;				}				break;			case 'W':				diff->weeks = an_int;				diff->has->weeks = TRUE;				break;			case 'D':				diff->days = an_int;				diff->has->days = TRUE;				break;			case 'H':				diff->hours = an_int;				diff->has->hours = TRUE;				break;			case 'S':				diff->seconds = an_int;				diff->has->seconds = TRUE;				break;			default:				break;		}	}	return diff;}