CA 1017 then UA 1335 at O'Hare
Anchorage → Chicago → Buffalo
Timetable, Chicago time
19:05CA 1017 from Anchorage at the gate
17:51UA 1335 to Buffalo leaves the gate
22 h 46 apart on the timetable, overnight
UA 1335 leaves 22 h 46 after CA 1017 arrives on the timetable: more than half a day, so not a connection we count.