I don't like this question because I think it is a false premise. People always want there to be a clear winner and loser of debates but often it is entirely too subjective to determine. I think what really matters is the long-term impact on the race.
Take for instance the VP debate. Lots of people say Pence "won" because he came off slick and professional. On the other hand though, Pence probably did more harm than good to the race with all his denial and Kaine probably did more good than harm due to creating usable soundbytes and directing his attacks at Trump which Pence had to spend his time deflecting. Overall, Kaine probably made more of a difference in the race than Pence.
With regards to this second presidential debate, Trump may have come off as dull and attacking, but being able to string together complete sentences may stopper his free-falling campaign (at least until the next video comes out) while Hillary may have been able to successfully answer questions unlike Trump and have actual positions, but she probably didn't change people's opinion of her campaign much.
In that way, Trump probably got more out of this debate than Hillary, but on the other hand, there was a lot more for Trump to gain than Hillary. Unless Hillary suddenly developed her husband's charisma, there just wasn't a lot to gain out of this debate, but there was a lot to potentially lose, and she didn't do that either. She remains in the position she was in before, and that's probably to her benefit.
In short the results from this debate are Hillary did not lose ground, Trump probably benefited.