The compromise was reached between Senators Patrick Toomey (R-PA) and Joe Manchin (D-WV). It requires background checks for purchases at gun shows and Internet sales, but exempts private sales. (Some gun groups had objected that a stricter background check would make it illegal for a father to give his son a heirloom gun.)
(Previous article on this subject: Nobody Plays Politics Better Than The NRA)