diff options
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index a78855101..60ecaeb41 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -1138,7 +1138,7 @@ handle_notify (void *cls, struct GNUNET_SERVER_Client *client, | |||
1138 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1138 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1139 | "`%s' message received\n", | 1139 | "`%s' message received\n", |
1140 | "NOTIFY"); | 1140 | "NOTIFY"); |
1141 | nc = GNUNET_malloc (sizeof (struct NotificationContext)); | 1141 | nc = GNUNET_new (struct NotificationContext); |
1142 | nc->client = client; | 1142 | nc->client = client; |
1143 | nc->include_friend_only = ntohl (nm->include_friend_only); | 1143 | nc->include_friend_only = ntohl (nm->include_friend_only); |
1144 | 1144 | ||