Duplicate call to mktime; it suffices to test (cftime == -1) here.