aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2014-12-26 00:02:00 +0000
committerJulius Bünger <buenger@mytum.de>2014-12-26 00:02:00 +0000
commit0a1dc873178c187ea94c5263084e3d7ec30a7c90 (patch)
tree52eebbf33caca36b8c0bcaa5a05918599abd22be /src/rps
parent93b040e310af8187a11716bd0f0daa62307348b0 (diff)
downloadgnunet-0a1dc873178c187ea94c5263084e3d7ec30a7c90.tar.gz
gnunet-0a1dc873178c187ea94c5263084e3d7ec30a7c90.zip
_malloc() -> _new()
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index a3bfbc536..3e699e606 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1359,7 +1359,7 @@ handle_inbound_channel (void *cls,
1359 } else { 1359 } else {
1360 struct peer_context *ctx; 1360 struct peer_context *ctx;
1361 1361
1362 ctx = GNUNET_malloc (sizeof(struct peer_context)); 1362 ctx = GNUNET_new(struct peer_context);
1363 ctx->in_flags = in_other_gossip_list; 1363 ctx->in_flags = in_other_gossip_list;
1364 ctx->mq = NULL; // TODO create mq? 1364 ctx->mq = NULL; // TODO create mq?
1365 ctx->from_channel = channel; 1365 ctx->from_channel = channel;