projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-fix, handle case where there is no update
[oweals/gnunet.git]
/
src
/
fs
/
gnunet-service-fs_push.c
diff --git
a/src/fs/gnunet-service-fs_push.c
b/src/fs/gnunet-service-fs_push.c
index 936cf5164bc23081687c12355714ce84265e4460..e7fbbdcaf9900e7ced36bc1fde3143daa7cd8c51 100644
(file)
--- a/
src/fs/gnunet-service-fs_push.c
+++ b/
src/fs/gnunet-service-fs_push.c
@@
-567,7
+567,7
@@
GSF_push_start_ (struct GSF_ConnectedPeer *peer)
if (GNUNET_YES != enabled)
return;
- mrp = GNUNET_
malloc (sizeof (struct MigrationReadyPeer)
);
+ mrp = GNUNET_
new (struct MigrationReadyPeer
);
mrp->peer = peer;
find_content (mrp);
GNUNET_CONTAINER_DLL_insert (peer_head, peer_tail, mrp);