aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-03-05 18:27:31 +0000
committerYang Tse <yangsita@gmail.com>2008-03-05 18:27:31 +0000
commit6c2c281a7eab0332569e77b0dd705145b2817c64 (patch)
tree84a8fcc48d1aebdaa0869c49a20a311e7247d6e7
parent083689333593d3d7a71f297b495c3de85d00ab90 (diff)
fix log message used when unable to connect to destination port
-rw-r--r--tests/server/sockfilt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index 921ce6c2b..f390fc640 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -907,7 +907,7 @@ int main(int argc, char *argv[])
if(rc) {
error = SOCKERRNO;
logmsg("Error connecting to port %d: (%d) %s",
- port, error, strerror(error));
+ connectport, error, strerror(error));
goto sockfilt_cleanup;
}
logmsg("====> Client connect");