UA 6105 then AA 4780 at O'Hare
Lewisburg → Chicago → Buffalo
Timetable, Chicago time
12:45UA 6105 from Lewisburg at the gate
08:00AA 4780 to Buffalo leaves the gate
19 h 15 apart on the timetable, overnight
AA 4780 leaves 19 h 15 after UA 6105 arrives on the timetable: more than half a day, so not a connection we count.