diff options
author | Werner Koch <wk@gnupg.org> | 2006-09-14 11:17:33 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-09-14 11:17:33 +0000 |
commit | f4f90811735b1f599e207e49d449abfa9d47897d (patch) | |
tree | b509639246290da27975771f95b8d46cf57ec60c /tests | |
parent | 7a22110230b9f1e5b5a73c065571935df21ef9b1 (diff) | |
download | libassuan-f4f90811735b1f599e207e49d449abfa9d47897d.tar.gz |
Preparing a new releaselibassuan-0.9.0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fdpassing.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/fdpassing.c b/tests/fdpassing.c index eae84e6..b2f118b 100644 --- a/tests/fdpassing.c +++ b/tests/fdpassing.c @@ -124,6 +124,9 @@ server (void) log_error ("assuan_accept failed: %s\n", assuan_strerror (rc)); break; } + + log_info ("client connected. Client's pid is %ld\n", + (long)assuan_get_pid (ctx)); rc = assuan_process (ctx); if (rc) @@ -151,9 +154,10 @@ client (assuan_context_t ctx) FILE *fp; int i; - log_info ("client started\n"); + log_info ("client started. Servers's pid is %ld\n", + (long)assuan_get_pid (ctx)); - for (i=0; i < 8; i++) + for (i=0; i < 6; i++) { fp = fopen ("/etc/motd", "r"); if (!fp) |