cleaner
authorChristian Grothoff <christian@grothoff.org>
Thu, 16 Jun 2011 11:34:54 +0000 (11:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 16 Jun 2011 11:34:54 +0000 (11:34 +0000)
src/core/test_core_api_preferences.c

index 5e8448880c53784711be98c7a27211c4987b85e9..b0b23776f935ef6d6c9d3c7720fd12a9a4fecd53 100644 (file)
@@ -320,8 +320,6 @@ static void
 ask_connect_task (void *cls,
                  const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  if (GNUNET_SCHEDULER_NO_TASK != ask_task)
-    GNUNET_SCHEDULER_cancel (ask_task);
   ask_task =
     GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
                                  &ask_connect_task, NULL);