projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bc399
)
fixing segfault caused by missing hashmap init
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 24 Aug 2011 12:50:49 +0000
(12:50 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 24 Aug 2011 12:50:49 +0000
(12:50 +0000)
src/ats/ats_api.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api.c
b/src/ats/ats_api.c
index ca095417302c61721d3ccc4fec7b9c2e7047acba..aee7fd8864f3701c6d9a6148397c3cf211f3d8df 100644
(file)
--- a/
src/ats/ats_api.c
+++ b/
src/ats/ats_api.c
@@
-364,6
+364,7
@@
GNUNET_ATS_init (const struct GNUNET_CONFIGURATION_Handle *cfg,
atc->alloc_cb = alloc_cb;
atc->alloc_cb_cls = alloc_cb_cls;
atc->peers = GNUNET_CONTAINER_multihashmap_create (256);
+ atc->notify_map = GNUNET_CONTAINER_multihashmap_create (256);
GNUNET_CONFIGURATION_get_value_number (cfg, "core", "TOTAL_QUOTA_OUT",
&atc->total_bps);
return atc;