I think you played it fine except for two parts. I would have bet the flop. Once you raise, I think you need to represent what is out there, whether you have it or not. Now if you bet he may put you on a hand like AJ which totally dominates him and he may just call. However since you did just check and call then I think you definately should have raised the river. These are the only plays I would have done differently but to each his own I guess and you did win the hand. To answer your question, I think you did make the correct call. You have 17 outs, you have to call.