tcpinfo library - minor code cleanup

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>