From 97653780649381147015ed4af7ac55976251c1d0 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 21 Jul 2014 17:43:38 -0400 Subject: [PATCH] Enable talloc error reporting for tids and tidc --- tid/example/tidc_main.c | 2 ++ tid/example/tids_main.c | 1 + 2 files changed, 3 insertions(+) diff --git a/tid/example/tidc_main.c b/tid/example/tidc_main.c index 90efd4e..e3b6e5c 100644 --- a/tid/example/tidc_main.c +++ b/tid/example/tidc_main.c @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -96,6 +97,7 @@ int main (int argc, int rc; gss_ctx_id_t gssctx; + talloc_set_log_stderr(); /* Parse command-line arguments */ if (argc != 5) { tidc_print_usage(argv[0]); diff --git a/tid/example/tids_main.c b/tid/example/tids_main.c index f47913f..dba6185 100644 --- a/tid/example/tids_main.c +++ b/tid/example/tids_main.c @@ -263,6 +263,7 @@ int main (int argc, const char *hostname = NULL; TR_NAME *gssname = NULL; + talloc_set_log_stderr(); /* Parse command-line arguments */ if (argc != 5) { fprintf(stdout, "Usage: %s \n", argv[0]); -- 2.1.4