]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
define SFILE for debugging
authorKen Raeburn <raeburn@mit.edu>
Tue, 9 Dec 2003 23:39:06 +0000 (23:39 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 9 Dec 2003 23:39:06 +0000 (23:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/raeburn-gssapi-cfx@15872 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/clnt/client_rpc.c

index a15615fa1ee57340b1804ae120c2e5cd099e9c48..28905d2c83eecf2bf29f8f8bef827fd1a0c04429 100644 (file)
@@ -302,6 +302,7 @@ init_1(argp, clnt)
      memset((char *)&res, 0, sizeof(res));
      x = clnt_call(clnt, INIT, xdr_u_int32, argp,
                   xdr_generic_ret, &res, TIMEOUT);
+#define SFILE (strrchr(__FILE__,'/') ? 1+strrchr(__FILE__,'/') : __FILE__)
      if (x != RPC_SUCCESS) {
         _log("%s:%d: init_1: clnt_call returned %d\n", SFILE, __LINE__, x);
          return (NULL);