From 1dea5b7075dc8cf916af6f2f8706224f852f1e75 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Fri, 7 May 2010 10:47:51 +0000 Subject: [PATCH] comment for fall through --- src/arm/gnunet-arm.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index cda74bf63..7ad3e48e7 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c @@ -319,13 +319,7 @@ cps_loop (void *cls, } 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 @@ cps_loop (void *cls, 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)) -- 2.25.1