You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:38:44 UTC

svn commit: r1132080 - /incubator/mesos/trunk/src/sched/sched.cpp

Author: benh
Date: Sun Jun  5 08:38:44 2011
New Revision: 1132080

URL: http://svn.apache.org/viewvc?rev=1132080&view=rev
Log:
Fixed some formatting.

Modified:
    incubator/mesos/trunk/src/sched/sched.cpp

Modified: incubator/mesos/trunk/src/sched/sched.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/sched/sched.cpp?rev=1132080&r1=1132079&r2=1132080&view=diff
==============================================================================
--- incubator/mesos/trunk/src/sched/sched.cpp (original)
+++ incubator/mesos/trunk/src/sched/sched.cpp Sun Jun  5 08:38:44 2011
@@ -150,7 +150,7 @@ protected:
 
     const string user(passwd->pw_name);
 
-    while(true) {
+    while (true) {
       // Rather than send a message to this process when it is time to
       // terminate, we set a flag that gets re-read. Sending a message
       // requires some sort of matching or priority reads that
@@ -171,7 +171,7 @@ protected:
       // send a message rather than have a timeout (see the comment
       // above for why sending a message will still require us to use
       // the terminate flag).
-      switch(receive(2)) {
+      switch (receive(2)) {
 
       case NEW_MASTER_DETECTED: {
 	string masterSeq;