diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 57e4e98ff..00b5de51c 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -76,6 +76,7 @@ notify_client (struct GNUNET_SERVER_Client *client, | |||
76 | plugin_addr_len + | 76 | plugin_addr_len + |
77 | plugin_name_length; | 77 | plugin_name_length; |
78 | char buf[msize] GNUNET_ALIGN; | 78 | char buf[msize] GNUNET_ALIGN; |
79 | struct GNUNET_SERVER_NotificationContext **uc; | ||
79 | struct GNUNET_SERVER_NotificationContext *nc; | 80 | struct GNUNET_SERVER_NotificationContext *nc; |
80 | char *addrp; | 81 | char *addrp; |
81 | 82 | ||
@@ -108,13 +109,14 @@ notify_client (struct GNUNET_SERVER_Client *client, | |||
108 | } | 109 | } |
109 | else | 110 | else |
110 | { | 111 | { |
111 | nc = *GNUNET_SERVER_client_get_user_context (client, | 112 | uc = GNUNET_SERVER_client_get_user_context (client, |
112 | struct GNUNET_SERVER_NotificationContext *); | 113 | struct GNUNET_SERVER_NotificationContext *); |
113 | if (NULL == nc) | 114 | if (NULL == uc) |
114 | { | 115 | { |
115 | GNUNET_break (0); | 116 | GNUNET_break (0); |
116 | return; | 117 | return; |
117 | } | 118 | } |
119 | nc = *uc; | ||
118 | GNUNET_SERVER_notification_context_unicast (nc, | 120 | GNUNET_SERVER_notification_context_unicast (nc, |
119 | client, | 121 | client, |
120 | &msg->header, | 122 | &msg->header, |