From: Sam Hartman Date: Mon, 21 Jul 2014 21:43:38 +0000 (-0400) Subject: Enable talloc error reporting for tids and tidc X-Git-Tag: 1.3.1~16 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=97653780649381147015ed4af7ac55976251c1d0;hp=5b67f027e9c58fd521959cfca927c4712f2971c1;p=trust_router.git Enable talloc error reporting for tids and tidc --- 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]);