]> git.sur5r.net Git - openocd/commit
server: incorrectly display socket port number
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 6 May 2010 21:51:20 +0000 (22:51 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 6 May 2010 21:51:20 +0000 (22:51 +0100)
commitf32492c74f29f7efd0d73f8118d0b988bc24f56a
tree3d0b72be1e08a5a19ad93e7e0b33a5903607e265
parent737c9b6258c6e68714ae264ff36126eb5d382d6a
server: incorrectly display socket port number

c->sin.sin_port does not contain a valid port number so just use
service->port as this is always correct.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/server/server.c