diff options
Diffstat (limited to 'src/peerinfo/test_peerinfo_api_notify_friend_only.c')
-rw-r--r-- | src/peerinfo/test_peerinfo_api_notify_friend_only.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/peerinfo/test_peerinfo_api_notify_friend_only.c b/src/peerinfo/test_peerinfo_api_notify_friend_only.c index b3d5e4b6e..d0322713c 100644 --- a/src/peerinfo/test_peerinfo_api_notify_friend_only.c +++ b/src/peerinfo/test_peerinfo_api_notify_friend_only.c | |||
@@ -58,10 +58,10 @@ static int res_cb_wo_fo; | |||
58 | 58 | ||
59 | struct GNUNET_PeerIdentity pid; | 59 | struct GNUNET_PeerIdentity pid; |
60 | 60 | ||
61 | struct GNUNET_SCHEDULER_Task * timeout_task; | 61 | struct GNUNET_SCHEDULER_Task *timeout_task; |
62 | 62 | ||
63 | static void | 63 | static void |
64 | end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 64 | end_badly (void *cls) |
65 | { | 65 | { |
66 | timeout_task = NULL; | 66 | timeout_task = NULL; |
67 | GNUNET_break(0); | 67 | GNUNET_break(0); |
@@ -83,8 +83,9 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
83 | global_ret = 255; | 83 | global_ret = 255; |
84 | } | 84 | } |
85 | 85 | ||
86 | |||
86 | static void | 87 | static void |
87 | done (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 88 | done (void *cls) |
88 | { | 89 | { |
89 | if (NULL != pnc_w_fo) | 90 | if (NULL != pnc_w_fo) |
90 | GNUNET_PEERINFO_notify_cancel (pnc_w_fo); | 91 | GNUNET_PEERINFO_notify_cancel (pnc_w_fo); |