diff options
Diffstat (limited to 'src/peerinfo/peerinfo_api_notify.c')
-rw-r--r-- | src/peerinfo/peerinfo_api_notify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peerinfo/peerinfo_api_notify.c b/src/peerinfo/peerinfo_api_notify.c index c3dac5064..625cfb8f6 100644 --- a/src/peerinfo/peerinfo_api_notify.c +++ b/src/peerinfo/peerinfo_api_notify.c | |||
@@ -179,12 +179,12 @@ handle_notification (void *cls, | |||
179 | static void | 179 | static void |
180 | reconnect (void *cls) | 180 | reconnect (void *cls) |
181 | { | 181 | { |
182 | GNUNET_MQ_hd_var_size (notification, | ||
183 | GNUNET_MESSAGE_TYPE_PEERINFO_INFO, | ||
184 | struct InfoMessage); | ||
185 | struct GNUNET_PEERINFO_NotifyContext *nc = cls; | 182 | struct GNUNET_PEERINFO_NotifyContext *nc = cls; |
186 | struct GNUNET_MQ_MessageHandler handlers[] = { | 183 | struct GNUNET_MQ_MessageHandler handlers[] = { |
187 | make_notification_handler (nc), | 184 | GNUNET_MQ_hd_var_size (notification, |
185 | GNUNET_MESSAGE_TYPE_PEERINFO_INFO, | ||
186 | struct InfoMessage, | ||
187 | nc), | ||
188 | GNUNET_MQ_handler_end () | 188 | GNUNET_MQ_handler_end () |
189 | }; | 189 | }; |
190 | struct GNUNET_MQ_Envelope *env; | 190 | struct GNUNET_MQ_Envelope *env; |