From: Tom Yu Date: Thu, 24 Jun 2004 20:07:29 +0000 (+0000) Subject: * client_init.c (_kadm5_init_any)[DEBUG]: Print error from X-Git-Tag: krb5-1.4-beta1~284 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a63967881f7b2d8a7ce0a39f874ef815e6c10292;p=krb5.git * client_init.c (_kadm5_init_any)[DEBUG]: Print error from clnttcp_create(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16508 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog index ef1846c0f..358d3335a 100644 --- a/src/lib/kadm5/clnt/ChangeLog +++ b/src/lib/kadm5/clnt/ChangeLog @@ -1,3 +1,8 @@ +2004-06-24 Tom Yu + + * client_init.c (_kadm5_init_any)[DEBUG]: Print error from + clnttcp_create(). + 2004-06-15 Tom Yu * client_principal.c (eret): Add some debugging messages for some diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index 93768eafc..b6996f975 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -433,6 +433,9 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, handle->clnt = clnttcp_create(&addr, KADM, KADMVERS, &fd, 0, 0); if (handle->clnt == NULL) { code = KADM5_RPC_ERROR; +#ifdef DEBUG + clnt_pcreateerror("clnttcp_create"); +#endif goto error; } handle->lhandle->clnt = handle->clnt;