AA 3980 then UA 5940 at O'Hare
Champaign → Chicago → Peoria
Timetable, Chicago time
17:24AA 3980 from Champaign at the gate
16:40UA 5940 to Peoria leaves the gate
23 h 16 apart on the timetable, overnight
UA 5940 leaves 23 h 16 after AA 3980 arrives on the timetable: more than half a day, so not a connection we count.