He knew they were wire taping him. And also knew they were paying for oppo research. None of this is a surprise to him so it is unlikely that he gave anything away and probably laid down some false sent.
The unsong hero in all this is Admiral Rodgers who privately blew the whistle to candidate Trump.