aboutsummaryrefslogtreecommitdiff
path: root/src/social
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-02-01 14:59:22 +0000
committerGabor X Toth <*@tg-x.net>2016-02-01 14:59:22 +0000
commit522bd40f4cee9e5546d15128f76d18799017220c (patch)
tree4935b3752d559ba4e28c32320c0115e2f3fa2dc6 /src/social
parent5af3181a70b7ec8ac792507ffa9eab581cc03470 (diff)
downloadgnunet-522bd40f4cee9e5546d15128f76d18799017220c.tar.gz
gnunet-522bd40f4cee9e5546d15128f76d18799017220c.zip
social: api, doc
Diffstat (limited to 'src/social')
-rw-r--r--src/social/gnunet-service-social.c2
-rw-r--r--src/social/social_api.c2
-rw-r--r--src/social/test_social.c8
3 files changed, 7 insertions, 5 deletions
diff --git a/src/social/gnunet-service-social.c b/src/social/gnunet-service-social.c
index df9f2a395..a15f8bdc1 100644
--- a/src/social/gnunet-service-social.c
+++ b/src/social/gnunet-service-social.c
@@ -3375,6 +3375,8 @@ identity_recv_ego (void *cls, struct GNUNET_IDENTITY_Ego *id_ego,
3375 GNUNET_CONTAINER_multihashmap_put (egos, &ego_pub_hash, ego, 3375 GNUNET_CONTAINER_multihashmap_put (egos, &ego_pub_hash, ego,
3376 GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE); 3376 GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE);
3377 } 3377 }
3378
3379 // FIXME: notify clients about changed ego
3378} 3380}
3379 3381
3380 3382
diff --git a/src/social/social_api.c b/src/social/social_api.c
index 0eafc852a..9c501344b 100644
--- a/src/social/social_api.c
+++ b/src/social/social_api.c
@@ -848,7 +848,7 @@ host_recv_enter_request (void *cls,
848 848
849 struct GNUNET_SOCIAL_Nym *nym = nym_get_or_create (&req->slave_pub_key); 849 struct GNUNET_SOCIAL_Nym *nym = nym_get_or_create (&req->slave_pub_key);
850 hst->answer_door_cb (hst->cb_cls, nym, method_name, env, 850 hst->answer_door_cb (hst->cb_cls, nym, method_name, env,
851 data_size, data); 851 data, data_size);
852 } while (0); 852 } while (0);
853 853
854 if (NULL != env) 854 if (NULL != env)
diff --git a/src/social/test_social.c b/src/social/test_social.c
index 2606e7fe8..78c58db14 100644
--- a/src/social/test_social.c
+++ b/src/social/test_social.c
@@ -156,8 +156,8 @@ host_answer_door (void *cls,
156 struct GNUNET_SOCIAL_Nym *nym, 156 struct GNUNET_SOCIAL_Nym *nym,
157 const char *method_name, 157 const char *method_name,
158 struct GNUNET_PSYC_Environment *env, 158 struct GNUNET_PSYC_Environment *env,
159 size_t data_size, 159 const void *data,
160 const void *data); 160 size_t data_size);
161 161
162static void 162static void
163host_enter (); 163host_enter ();
@@ -1063,8 +1063,8 @@ host_answer_door (void *cls,
1063 struct GNUNET_SOCIAL_Nym *nym, 1063 struct GNUNET_SOCIAL_Nym *nym,
1064 const char *method_name, 1064 const char *method_name,
1065 struct GNUNET_PSYC_Environment *env, 1065 struct GNUNET_PSYC_Environment *env,
1066 size_t data_size, 1066 const void *data,
1067 const void *data) 1067 size_t data_size)
1068{ 1068{
1069 join_req_count++; 1069 join_req_count++;
1070 1070