projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dead code elimination
[oweals/gnunet.git]
/
src
/
core
/
gnunet-core.c
diff --git
a/src/core/gnunet-core.c
b/src/core/gnunet-core.c
index 97895b5a3987cb9adebed8ddb29b1b9020b22eb8..d91dc304d5c1b88152b44f994e958f9d221f9fea 100644
(file)
--- a/
src/core/gnunet-core.c
+++ b/
src/core/gnunet-core.c
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet.
/*
This file is part of GNUnet.
- Copyright (C) 2011, 2012, 2014
Christian Grothoff (and other contributing authors)
+ Copyright (C) 2011, 2012, 2014
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
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@
-44,11
+44,9
@@
static struct GNUNET_CORE_MonitorHandle *mh;
* Stops monitoring activity.
*
* @param cls NULL
* Stops monitoring activity.
*
* @param cls NULL
- * @param tc scheduler context
*/
static void
*/
static void
-shutdown_task (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc)
+shutdown_task (void *cls)
{
if (NULL != mh)
{
{
if (NULL != mh)
{
@@
-157,8
+155,7
@@
run (void *cls, char *const *args, const char *cfgfile,
_("Failed to connect to CORE service!\n"));
return;
}
_("Failed to connect to CORE service!\n"));
return;
}
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
- &shutdown_task, NULL);
+ GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL);
}
}