]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/Pipe: whitespace cleanup
authorSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 17:00:54 +0000 (10:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 17:00:54 +0000 (10:00 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Pipe.cc

index 9edafaec14a885ab98852a9287bf99c03d30eecc..69c72530a26215b19564afe8a1f2b41435b32653 100644 (file)
@@ -302,8 +302,9 @@ int Pipe::accept()
     // If the server supports signing session messages, and it is configured to require the client
     // to sign, and the client can't sign, bail out.  PLR
 
-    if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) && msgr->cct->_conf->cephx_require_signatures 
-      && !(connect.features & CEPH_FEATURE_MSG_AUTH)) {
+    if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) &&
+       msgr->cct->_conf->cephx_require_signatures &&
+       !(connect.features & CEPH_FEATURE_MSG_AUTH)) {
       ldout(msgr->cct,1) << "Client can't sign messages." << dendl;
       reply.tag = CEPH_MSGR_TAG_FEATURES;
       msgr->lock.Unlock();
@@ -879,11 +880,12 @@ int Pipe::connect()
        goto fail_locked;
       }
 
-    // If the client supports signing session messages, and it is configured to require the server
-    // to sign, and the server can't sign, bail out.  PLR
+      // If the client supports signing session messages, and it is configured to require the server
+      // to sign, and the server can't sign, bail out.  PLR
 
-      if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) && msgr->cct->_conf->cephx_require_signatures 
-          && !(reply.features & CEPH_FEATURE_MSG_AUTH)) {
+      if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) &&
+         msgr->cct->_conf->cephx_require_signatures &&
+          !(reply.features & CEPH_FEATURE_MSG_AUTH)) {
         ldout(msgr->cct,1) << "Server can't sign messages." << dendl;
         goto fail_locked;
       }