From 31b6f463acd28d5158d5ff5334e3d0cc8562c15c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 21 Oct 2009 16:34:34 -0700 Subject: [PATCH] auth: fix Makefile --- src/Makefile.am | 1 - src/mon/MonClient.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 95dd5ae50f45d..581437b94a65d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -332,7 +332,6 @@ libcrush_a_SOURCES = \ libmon_a_SOURCES = \ auth/AuthServiceHandler.cc \ - auth/AuthorizeServer.cc \ mon/Monitor.cc \ mon/Paxos.cc \ mon/PaxosService.cc \ diff --git a/src/mon/MonClient.cc b/src/mon/MonClient.cc index d363c747fac1c..e93addc28fd17 100644 --- a/src/mon/MonClient.cc +++ b/src/mon/MonClient.cc @@ -309,7 +309,7 @@ void MonClient::handle_mount_ack(MClientMountAck* m) void MonClient::handle_auth(MAuthReply *m) { - int ret = auth.handle_response((MAuthReply*)m); + int ret = auth.handle_response(m); delete m; if (ret == -EAGAIN) { -- 2.39.5