summaryrefslogtreecommitdiff
path: root/pr/tests/cltsrv.c
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-12-04 01:22:01 +0000
committerwtc%netscape.com <devnull@localhost>1999-12-04 01:22:01 +0000
commitfd80cace037d237abddfbd375d9e2f76366a28b8 (patch)
tree966204b78eb7ed205c05e83788618d6d1ac9e943 /pr/tests/cltsrv.c
parent771875c589777309acb29cf6be4e27554165574d (diff)
downloadnspr-hg-fd80cace037d237abddfbd375d9e2f76366a28b8.tar.gz
Print error codes if PR_Connect() fails.
Diffstat (limited to 'pr/tests/cltsrv.c')
-rw-r--r--pr/tests/cltsrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pr/tests/cltsrv.c b/pr/tests/cltsrv.c
index e25d6695..f19995c7 100644
--- a/pr/tests/cltsrv.c
+++ b/pr/tests/cltsrv.c
@@ -259,7 +259,8 @@ static void PR_CALLBACK Client(void *arg)
{
TEST_LOG(
cltsrv_log_file, TEST_LOG_ERROR,
- ("\tClient(0x%p): conection failed\n", me));
+ ("\tClient(0x%p): conection failed (%d, %d)\n",
+ me, PR_GetError(), PR_GetOSError()));
goto aborted;
}