* client_init.c (_kadm5_init_any)[DEBUG]: Print error from
authorTom Yu <tlyu@mit.edu>
Thu, 24 Jun 2004 20:07:29 +0000 (20:07 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 24 Jun 2004 20:07:29 +0000 (20:07 +0000)
clnttcp_create().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16508 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/client_init.c

index ef1846c0f6a30244a91224600f673a3c759a3ad1..358d3335aa77a673ff0bc6ef95f9b0ca22220773 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-24  Tom Yu  <tlyu@mit.edu>
+
+       * client_init.c (_kadm5_init_any)[DEBUG]: Print error from
+       clnttcp_create().
+
 2004-06-15  Tom Yu  <tlyu@mit.edu>
 
        * client_principal.c (eret): Add some debugging messages for some
index 93768eafc305d811444459ec40dc1446fcf2fc6c..b6996f975363455cb03c6e6bd092ebdd4d2347e0 100644 (file)
@@ -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;