From 61ab9bd9ad49122b0a20b538f799f10ab193d47c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Tue, 28 Mar 2006 22:10:21 +0000 Subject: [PATCH] don't let the library calls to log to syslog/stdout --- org.glite.security.proxyrenewal/examples/renew_core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.glite.security.proxyrenewal/examples/renew_core.c b/org.glite.security.proxyrenewal/examples/renew_core.c index 4d9c967..69518ea 100644 --- a/org.glite.security.proxyrenewal/examples/renew_core.c +++ b/org.glite.security.proxyrenewal/examples/renew_core.c @@ -46,9 +46,12 @@ main(int argc, char *argv[]) exit(1); } + ctx->log_dst = GLITE_RENEWAL_LOG_NONE; + ret = glite_renewal_core_renew(ctx, server, 0, proxy, &new_proxy); if (ret) { - fprintf(stderr, "glite_renewal_core_renew() failed: %d\n", ret); + fprintf(stderr, "%s: glite_renewal_core_renew() failed: %s", + argv[0], ctx->err_message); exit(1); } -- 1.8.2.3