gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11253 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r11253 - gnunet/src/arm
Date: Fri, 7 May 2010 12:47:51 +0200

Author: nevans
Date: 2010-05-07 12:47:51 +0200 (Fri, 07 May 2010)
New Revision: 11253

Modified:
   gnunet/src/arm/gnunet-arm.c
Log:
comment for fall through

Modified: gnunet/src/arm/gnunet-arm.c
===================================================================
--- gnunet/src/arm/gnunet-arm.c 2010-05-07 10:46:59 UTC (rev 11252)
+++ gnunet/src/arm/gnunet-arm.c 2010-05-07 10:47:51 UTC (rev 11253)
@@ -319,13 +319,7 @@
            }
          break;
        case 5:
-         if (restart) /* FIXME:
-                        *  Restart should be a legal option but this is a hack.
-                        *  The proper thing to do would be have 
gnunet-service-arm
-                        *  signal us when actually shut down, and then initiate
-                        *  the startup.  Instead we just sleep for two seconds
-                        *  and hope that's enough time for shutdown to have 
happened.
-                        */
+         if (restart)
            {
               GNUNET_ARM_disconnect (h);
               phase = 0;
@@ -343,6 +337,7 @@
               GNUNET_SCHEDULER_add_now(sched, &cps_loop, NULL);
               return;
            }
+         /* Fall through */
        default: /* last phase */
          GNUNET_ARM_disconnect (h);
          if ((end == GNUNET_YES) && (delete == GNUNET_YES))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]