]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: initialize protocol field in AuthAuthorizer
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 23 Oct 2009 21:14:34 +0000 (14:14 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 23 Oct 2009 21:14:34 +0000 (14:14 -0700)
src/auth/Auth.h

index ccec796e3d81855fc4897db6e5aa3db2ebc42542..d4a202725970c0aabea78107a4ced6218dc4f340 100644 (file)
@@ -234,6 +234,8 @@ struct AuthAuthorizer {
   bool build_authorizer();
   bool verify_reply(bufferlist::iterator& reply);
   void clear() { bl.clear(); }
+
+  AuthAuthorizer() : protocol(CEPH_AUTH_CEPHX) {}
 };
 
 /*