X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Futil%2Ftest_service.c;h=88f99f95ac1d96a49a278388c46672299607feec;hb=60de5f48cbfc3868570284e91415ca7e06c390e1;hp=bdd3d8521e92fbae776155601f490958b04e889a;hpb=a998e0abbd220035bdb333388da229852980e2cc;p=oweals%2Fgnunet.git diff --git a/src/util/test_service.c b/src/util/test_service.c index bdd3d8521..88f99f95a 100644 --- a/src/util/test_service.c +++ b/src/util/test_service.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - (C) 2009, 2013 Christian Grothoff (and other contributing authors) + Copyright (C) 2009, 2013 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with GNUnet; see the file COPYING. If not, write to the - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ /** * @file util/test_service.c @@ -23,13 +23,7 @@ * @author Christian Grothoff */ #include "platform.h" -#include "gnunet_common.h" -#include "gnunet_client_lib.h" -#include "gnunet_getopt_lib.h" -#include "gnunet_program_lib.h" -#include "gnunet_service_lib.h" -#include "gnunet_scheduler_lib.h" -#include "gnunet_time_lib.h" +#include "gnunet_util_lib.h" #define PORT 12435 @@ -160,7 +154,7 @@ check () static void -ready6 (void *cls, +ready6 (void *cls, int result) { const struct GNUNET_CONFIGURATION_Handle *cfg = cls; @@ -242,7 +236,7 @@ check_start_stop () GNUNET_assert (GNUNET_OK == GNUNET_PROGRAM_run (3, argv, "test-service-program", "no help", options, &start_stop_main, &ret)); - + GNUNET_break (0 == ret); return ret; }