diff options
Diffstat (limited to 'src/service/messenger/messenger_api_contact_store.c')
-rw-r--r-- | src/service/messenger/messenger_api_contact_store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service/messenger/messenger_api_contact_store.c b/src/service/messenger/messenger_api_contact_store.c index e60a8d5ca..081a8c6e9 100644 --- a/src/service/messenger/messenger_api_contact_store.c +++ b/src/service/messenger/messenger_api_contact_store.c | |||
@@ -143,6 +143,7 @@ get_store_contact (struct GNUNET_MESSENGER_ContactStore *store, | |||
143 | 143 | ||
144 | if (GNUNET_OK == GNUNET_CONTAINER_multihashmap_put (map, &hash, contact, | 144 | if (GNUNET_OK == GNUNET_CONTAINER_multihashmap_put (map, &hash, contact, |
145 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) | 145 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) |
146 | |||
146 | return contact; | 147 | return contact; |
147 | 148 | ||
148 | destroy_contact (contact); | 149 | destroy_contact (contact); |
@@ -183,6 +184,7 @@ update_store_contact (struct GNUNET_MESSENGER_ContactStore *store, | |||
183 | 184 | ||
184 | if (GNUNET_OK != GNUNET_CONTAINER_multihashmap_put (map, &hash, contact, | 185 | if (GNUNET_OK != GNUNET_CONTAINER_multihashmap_put (map, &hash, contact, |
185 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) | 186 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) |
187 | |||
186 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Updating a contact failed: %s\n", | 188 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Updating a contact failed: %s\n", |
187 | GNUNET_h2s (&hash)); | 189 | GNUNET_h2s (&hash)); |
188 | } | 190 | } |