]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4065] untabify
authorFrancis Dupont <fdupont@isc.org>
Tue, 22 Sep 2015 15:46:38 +0000 (17:46 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 22 Sep 2015 15:46:38 +0000 (17:46 +0200)
src/lib/util/threads/thread.cc

index 568f6f8e2e54b3a8da236ce865d161cd158ca9a4..8f0436b4efeb2eaecb22b87a2039c67e69004459 100644 (file)
@@ -42,14 +42,14 @@ class Blocker : boost::noncopyable {
 public:
     // Constructor blocks all signals
     Blocker() {
-       sigset_t new_mask;
-       sigfillset(&new_mask);
-       pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_);
+        sigset_t new_mask;
+        sigfillset(&new_mask);
+        pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_);
     }
 
     // Destructor restores the previous signal mask
     ~Blocker() {
-       pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
+        pthread_sigmask(SIG_SETMASK, &old_mask_, 0);
     }
 
 private: