diff options
author | wtc%netscape.com <devnull@localhost> | 1999-12-04 01:22:01 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1999-12-04 01:22:01 +0000 |
commit | fd80cace037d237abddfbd375d9e2f76366a28b8 (patch) | |
tree | 966204b78eb7ed205c05e83788618d6d1ac9e943 /pr/tests/cltsrv.c | |
parent | 771875c589777309acb29cf6be4e27554165574d (diff) | |
download | nspr-hg-fd80cace037d237abddfbd375d9e2f76366a28b8.tar.gz |
Print error codes if PR_Connect() fails.
Diffstat (limited to 'pr/tests/cltsrv.c')
-rw-r--r-- | pr/tests/cltsrv.c | 3 |
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; } |