GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
run(void *cls, struct GNUNET_SCHEDULER_Handle *sched, char * const *args,
const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
{
+ int *ok = cls;
struct sockaddr_in sa;
struct GNUNET_TIME_Relative timeout = GNUNET_TIME_relative_multiply(
GNUNET_TIME_UNIT_MILLISECONDS, 2500);
* DNS rootserver to test: a.root-servers.net - 198.41.0.4
*/
- char const * rootserver_name = ROOTSERVER_NAME;
+ const char * rootserver_name = ROOTSERVER_NAME;
struct hostent *rootserver;
rootserver = gethostbyname(rootserver_name);
#endif
fprintf (stderr,
"System seems to be off-line, will not run all DNS tests\n");
+ *ok = 0; /* mark test as passing anyway */
return;
}