Hundreds of flights were canceled Thursday as mechanics for American Airlines and Delta Airlines inspected wiring in aircraft to ensure the planes met federal safety rules.