aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2018-06-28 01:36:18 +0200
committert3sserakt <t3ss@posteo.de>2018-06-28 01:36:23 +0200
commitf4279d5bfd1e10fa668a262226cb159910f08680 (patch)
treede9f0699a82498091a7a8189766edf4d7e6d8d8e /src
parentb294b0e78e44543024f19f197cbac39f86091b88 (diff)
parent7540ebcd02d9bfe0a690689a1f57952eda5b5c81 (diff)
downloadgnunet-f4279d5bfd1e10fa668a262226cb159910f08680.tar.gz
gnunet-f4279d5bfd1e10fa668a262226cb159910f08680.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src')
-rw-r--r--src/ats/gnunet-service-ats_addresses.h2
-rw-r--r--src/cadet/gnunet-cadet.c25
-rw-r--r--src/cadet/gnunet-service-cadet.c12
-rw-r--r--src/cadet/gnunet-service-cadet_peer.c2
-rw-r--r--src/consensus/gnunet-service-consensus.c2
-rw-r--r--src/conversation/gnunet-conversation.c9
-rw-r--r--src/core/core.h2
-rw-r--r--src/core/gnunet-service-core.c2
-rw-r--r--src/core/gnunet-service-core.h2
-rw-r--r--src/core/gnunet-service-core_kx.c6
-rw-r--r--src/core/gnunet-service-core_sessions.c2
-rw-r--r--src/core/gnunet-service-core_sessions.h2
-rw-r--r--src/datastore/perf_datastore_api.c2
-rw-r--r--src/datastore/plugin_datastore_mysql.c2
-rw-r--r--src/fs/gnunet-service-fs_cp.h2
-rw-r--r--src/include/block_dns.h2
-rw-r--r--src/include/gnunet_core_service.h2
-rw-r--r--src/include/gnunet_os_lib.h4
-rw-r--r--src/include/gnunet_psyc_service.h2
-rw-r--r--src/include/gnunet_secretsharing_service.h4
-rw-r--r--src/include/gnunet_signatures.h2
-rw-r--r--src/namestore/test_namestore_api_sqlite.conf2
-rw-r--r--src/nat/gnunet-helper-nat-server.c3
-rw-r--r--src/rps/gnunet-rps.c5
-rw-r--r--src/rps/gnunet-service-rps.c23
-rw-r--r--src/rps/test_rps.c9
-rw-r--r--src/secretsharing/gnunet-service-secretsharing.c2
-rw-r--r--src/secretsharing/secretsharing_api.c4
-rw-r--r--src/secretsharing/secretsharing_protocol.h2
-rw-r--r--src/set/gnunet-service-set.h2
-rw-r--r--src/set/gnunet-service-set_intersection.c4
-rw-r--r--src/set/gnunet-service-set_union.c4
-rw-r--r--src/topology/gnunet-daemon-topology.c2
-rw-r--r--src/transport/gnunet-service-transport.c4
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c4
-rw-r--r--src/transport/transport.conf.in3
-rw-r--r--src/util/common_allocation.c1
-rw-r--r--src/util/disk.c1
-rw-r--r--src/util/os_priority.c6
39 files changed, 110 insertions, 61 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h
index d90ca1375..d4dc483eb 100644
--- a/src/ats/gnunet-service-ats_addresses.h
+++ b/src/ats/gnunet-service-ats_addresses.h
@@ -151,7 +151,7 @@
151 * 1.7 Address management 151 * 1.7 Address management
152 * 152 *
153 * Transport service notifies ATS about changes to the addresses known to 153 * Transport service notifies ATS about changes to the addresses known to
154 * him. 154 * it.
155 * 155 *
156 * 1.7.1 Adding an address 156 * 1.7.1 Adding an address
157 * 157 *
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 67cebf02b..b22881907 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -27,6 +27,7 @@
27#include "gnunet_cadet_service.h" 27#include "gnunet_cadet_service.h"
28#include "cadet.h" 28#include "cadet.h"
29 29
30#define STREAM_BUFFER_SIZE 1024 // Pakets
30 31
31/** 32/**
32 * Option -P. 33 * Option -P.
@@ -123,6 +124,8 @@ static struct GNUNET_SCHEDULER_Task *rd_task;
123 */ 124 */
124static struct GNUNET_SCHEDULER_Task *job; 125static struct GNUNET_SCHEDULER_Task *job;
125 126
127static unsigned int sent_pkt;
128
126 129
127/** 130/**
128 * Wait for input on STDIO and send it out over the #ch. 131 * Wait for input on STDIO and send it out over the #ch.
@@ -228,6 +231,12 @@ shutdown_task (void *cls)
228 } 231 }
229} 232}
230 233
234void *
235mq_cb(void *cls)
236{
237 listen_stdio ();
238}
239
231 240
232/** 241/**
233 * Task run in stdio mode, after some data is available at stdin. 242 * Task run in stdio mode, after some data is available at stdin.
@@ -248,6 +257,8 @@ read_stdio (void *cls)
248 60000); 257 60000);
249 if (data_size < 1) 258 if (data_size < 1)
250 { 259 {
260 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
261 "read() returned %s\n", strerror(errno));
251 GNUNET_SCHEDULER_shutdown(); 262 GNUNET_SCHEDULER_shutdown();
252 return; 263 return;
253 } 264 }
@@ -262,9 +273,21 @@ read_stdio (void *cls)
262 data_size); 273 data_size);
263 GNUNET_MQ_send (GNUNET_CADET_get_mq (ch), 274 GNUNET_MQ_send (GNUNET_CADET_get_mq (ch),
264 env); 275 env);
276
277 sent_pkt++;
278
265 if (GNUNET_NO == echo) 279 if (GNUNET_NO == echo)
266 { 280 {
267 listen_stdio (); 281 // Use MQ's notification if too much data of stdin is pooring in too fast.
282 if (STREAM_BUFFER_SIZE < sent_pkt)
283 {
284 GNUNET_MQ_notify_sent (env, mq_cb, cls);
285 sent_pkt = 0;
286 }
287 else
288 {
289 listen_stdio ();
290 }
268 } 291 }
269 else 292 else
270 { 293 {
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c
index 8ccf4ae07..712c6339a 100644
--- a/src/cadet/gnunet-service-cadet.c
+++ b/src/cadet/gnunet-service-cadet.c
@@ -927,29 +927,23 @@ get_peer_info (void *cls,
927 struct CadetClient *c = cls; 927 struct CadetClient *c = cls;
928 struct GNUNET_MQ_Envelope *env; 928 struct GNUNET_MQ_Envelope *env;
929 struct GNUNET_CADET_LocalInfoPeer *msg; 929 struct GNUNET_CADET_LocalInfoPeer *msg;
930
931 930
932 env = GNUNET_MQ_msg (msg, 931 env = GNUNET_MQ_msg (msg,
933 GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PEER); 932 GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PEER);
934
935 msg->offset = htons(0); 933 msg->offset = htons(0);
936 msg->destination = *peer; 934 msg->destination = *peer;
937 msg->paths = htons (GCP_count_paths (p)); 935 msg->paths = htons (GCP_count_paths (p));
938 msg->tunnel = htons (NULL != GCP_get_tunnel (p, 936 msg->tunnel = htons (NULL != GCP_get_tunnel (p,
939 GNUNET_NO)); 937 GNUNET_NO));
940 msg->finished_with_paths = htons(0); 938 msg->finished_with_paths = htons(0);
941
942 GNUNET_MQ_send (c->mq, 939 GNUNET_MQ_send (c->mq,
943 env); 940 env);
944 941 GCP_iterate_indirect_paths (p,
945 GCP_iterate_indirect_paths(p, 942 &path_info_iterator,
946 &path_info_iterator, 943 c->mq);
947 c->mq);
948
949} 944}
950 945
951 946
952
953/** 947/**
954 * Handler for client's SHOW_PEER request. 948 * Handler for client's SHOW_PEER request.
955 * 949 *
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c
index 09dfcd4d7..b375d51ca 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -1217,6 +1217,8 @@ GCP_iterate_paths (struct CadetPeer *cp,
1217 (NULL == cp->core_mq) ? "" : " including direct link"); 1217 (NULL == cp->core_mq) ? "" : " including direct link");
1218 if (NULL != cp->core_mq) 1218 if (NULL != cp->core_mq)
1219 { 1219 {
1220 /* FIXME: this branch seems to duplicate the
1221 i=0 case below (direct link). Leave out!??? -CG */
1220 struct CadetPeerPath *path; 1222 struct CadetPeerPath *path;
1221 1223
1222 path = GCPP_get_path_from_route (1, 1224 path = GCPP_get_path_from_route (1,
diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c
index 86d056aaf..afbefdc5a 100644
--- a/src/consensus/gnunet-service-consensus.c
+++ b/src/consensus/gnunet-service-consensus.c
@@ -2821,7 +2821,7 @@ construct_task_graph_gradecast (struct ConsensusSession *session,
2821 } 2821 }
2822 /* We run this task to make sure that the leader 2822 /* We run this task to make sure that the leader
2823 has the stored the SET_KIND_LEADER set of himself, 2823 has the stored the SET_KIND_LEADER set of himself,
2824 so he can participate in the rest of the gradecast 2824 so it can participate in the rest of the gradecast
2825 without the code having to handle any special cases. */ 2825 without the code having to handle any special cases. */
2826 task = ((struct TaskEntry) { 2826 task = ((struct TaskEntry) {
2827 .step = step, 2827 .step = step,
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c
index 92a435d55..bb4946720 100644
--- a/src/conversation/gnunet-conversation.c
+++ b/src/conversation/gnunet-conversation.c
@@ -264,6 +264,13 @@ phone_event_handler (void *cls,
264 switch (code) 264 switch (code)
265 { 265 {
266 case GNUNET_CONVERSATION_EC_PHONE_RING: 266 case GNUNET_CONVERSATION_EC_PHONE_RING:
267 /*
268 * FIXME: we should be playing our ringtones from contrib/sounds now!
269 *
270 ring_my_bell();
271 *
272 * see https://gstreamer.freedesktop.org/documentation/application-development/highlevel/playback-components.html on how to play a wav using the gst framework being used here
273 */
267 FPRINTF (stdout, 274 FPRINTF (stdout,
268 _("Incoming call from `%s'. Please /accept %u or /cancel %u the call.\n"), 275 _("Incoming call from `%s'. Please /accept %u or /cancel %u the call.\n"),
269 GNUNET_GNSRECORD_pkey_to_zkey (caller_id), 276 GNUNET_GNSRECORD_pkey_to_zkey (caller_id),
@@ -717,7 +724,7 @@ do_status (const char *args)
717 break; 724 break;
718 case CS_RINGING: 725 case CS_RINGING:
719 FPRINTF (stdout, 726 FPRINTF (stdout,
720 _("We are calling `%s', his phone should be ringing.\n"), 727 _("We are calling `%s', their phone should be ringing.\n"),
721 peer_name); 728 peer_name);
722 break; 729 break;
723 case CS_CONNECTED: 730 case CS_CONNECTED:
diff --git a/src/core/core.h b/src/core/core.h
index a2c05d4af..2ce77244e 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -172,7 +172,7 @@ struct DisconnectNotifyMessage
172 * messages being received or transmitted. This overall message is 172 * messages being received or transmitted. This overall message is
173 * followed by the real message, or just the header of the real 173 * followed by the real message, or just the header of the real
174 * message (depending on the client's preferences). The receiver can 174 * message (depending on the client's preferences). The receiver can
175 * tell if he got the full message or only a partial message by 175 * tell if it got the full message or only a partial message by
176 * looking at the size field in the header of NotifyTrafficMessage and 176 * looking at the size field in the header of NotifyTrafficMessage and
177 * checking it with the size field in the message that follows. 177 * checking it with the size field in the message that follows.
178 */ 178 */
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 0afc75add..a033f9fac 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -230,7 +230,7 @@ handle_client_init (void *cls,
230/** 230/**
231 * We will never be ready to transmit the given message in (disconnect 231 * We will never be ready to transmit the given message in (disconnect
232 * or invalid request). Frees resources associated with @a car. We 232 * or invalid request). Frees resources associated with @a car. We
233 * don't explicitly tell the client, he'll learn with the disconnect 233 * don't explicitly tell the client, it'll learn with the disconnect
234 * (or violated the protocol). 234 * (or violated the protocol).
235 * 235 *
236 * @param car request that now permanently failed; the 236 * @param car request that now permanently failed; the
diff --git a/src/core/gnunet-service-core.h b/src/core/gnunet-service-core.h
index 81e73ec39..fd1a88e75 100644
--- a/src/core/gnunet-service-core.h
+++ b/src/core/gnunet-service-core.h
@@ -113,7 +113,7 @@ GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car);
113/** 113/**
114 * We will never be ready to transmit the given message in (disconnect 114 * We will never be ready to transmit the given message in (disconnect
115 * or invalid request). Frees resources associated with @a car. We 115 * or invalid request). Frees resources associated with @a car. We
116 * don't explicitly tell the client, he'll learn with the disconnect 116 * don't explicitly tell the client, it'll learn with the disconnect
117 * (or violated the protocol). 117 * (or violated the protocol).
118 * 118 *
119 * @param car request that now permanently failed; the 119 * @param car request that now permanently failed; the
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c
index 6e713cf61..c017e0c23 100644
--- a/src/core/gnunet-service-core_kx.c
+++ b/src/core/gnunet-service-core_kx.c
@@ -123,7 +123,7 @@ struct EphemeralKeyMessage
123 123
124 124
125/** 125/**
126 * We're sending an (encrypted) PING to the other peer to check if he 126 * We're sending an (encrypted) PING to the other peer to check if it
127 * can decrypt. The other peer should respond with a PONG with the 127 * can decrypt. The other peer should respond with a PONG with the
128 * same content, except this time encrypted with the receiver's key. 128 * same content, except this time encrypted with the receiver's key.
129 */ 129 */
@@ -854,8 +854,8 @@ handle_transport_notify_connect (void *cls,
854 } 854 }
855 else 855 else
856 { 856 {
857 /* peer with "higher" identity starts a delayed KX, if the "lower" peer 857 /* peer with "higher" identity starts a delayed KX, if the "lower" peer
858 * does not start a KX since he sees no reasons to do so */ 858 * does not start a KX since it sees no reasons to do so */
859 kx->retry_set_key_task 859 kx->retry_set_key_task
860 = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, 860 = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
861 &set_key_retry_task, 861 &set_key_retry_task,
diff --git a/src/core/gnunet-service-core_sessions.c b/src/core/gnunet-service-core_sessions.c
index 41fe4dfb7..16f9a092d 100644
--- a/src/core/gnunet-service-core_sessions.c
+++ b/src/core/gnunet-service-core_sessions.c
@@ -356,7 +356,7 @@ GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer,
356 356
357 357
358/** 358/**
359 * The other peer has indicated that he 'lost' the session 359 * The other peer has indicated that it 'lost' the session
360 * (KX down), reinitialize the session on our end, in particular 360 * (KX down), reinitialize the session on our end, in particular
361 * this means to restart the typemap transmission. 361 * this means to restart the typemap transmission.
362 * 362 *
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h
index 845edac69..be862b71f 100644
--- a/src/core/gnunet-service-core_sessions.h
+++ b/src/core/gnunet-service-core_sessions.h
@@ -40,7 +40,7 @@ GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer,
40 40
41 41
42/** 42/**
43 * The other peer has indicated that he 'lost' the session 43 * The other peer has indicated that it 'lost' the session
44 * (KX down), reinitialize the session on our end, in particular 44 * (KX down), reinitialize the session on our end, in particular
45 * this means to restart the typemap transmission. 45 * this means to restart the typemap transmission.
46 * 46 *
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c
index f659dedff..6a0ff231b 100644
--- a/src/datastore/perf_datastore_api.c
+++ b/src/datastore/perf_datastore_api.c
@@ -172,7 +172,7 @@ struct CpsRunContext
172 172
173 /** 173 /**
174 * Counts the number of items put in the current phase. 174 * Counts the number of items put in the current phase.
175 * Once it hits #PUT_10, we progress tot he #RP_CUT phase 175 * Once it hits #PUT_10, we progress to the #RP_CUT phase
176 * or are done if @e i reaches #ITERATIONS. 176 * or are done if @e i reaches #ITERATIONS.
177 */ 177 */
178 unsigned int j; 178 unsigned int j;
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index b09fd1af3..3568ebe8f 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -76,7 +76,7 @@
76 * a safe partition etc. The $HOME/.my.cnf can of course be a symbolic 76 * a safe partition etc. The $HOME/.my.cnf can of course be a symbolic
77 * link. Even greater security risk can be achieved by setting no 77 * link. Even greater security risk can be achieved by setting no
78 * password for $USER. Luckily $USER has only priviledges to mess 78 * password for $USER. Luckily $USER has only priviledges to mess
79 * up GNUnet's tables, nothing else (unless you give him more, 79 * up GNUnet's tables, nothing else (unless you give them more,
80 * of course).<p> 80 * of course).<p>
81 * 81 *
82 * 4) Still, perhaps you should briefly try if the DB connection 82 * 4) Still, perhaps you should briefly try if the DB connection
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h
index 5e98f4940..dc7e03f4a 100644
--- a/src/fs/gnunet-service-fs_cp.h
+++ b/src/fs/gnunet-service-fs_cp.h
@@ -84,7 +84,7 @@ struct GSF_PeerPerformanceData
84 84
85 /** 85 /**
86 * If we get content we already have from this peer, for how 86 * If we get content we already have from this peer, for how
87 * long do we block him? Adjusted based on the fraction of 87 * long do we block it? Adjusted based on the fraction of
88 * redundant data we receive, between 1s and 1h. 88 * redundant data we receive, between 1s and 1h.
89 */ 89 */
90 struct GNUNET_TIME_Relative migration_delay; 90 struct GNUNET_TIME_Relative migration_delay;
diff --git a/src/include/block_dns.h b/src/include/block_dns.h
index f54a51232..234ed502d 100644
--- a/src/include/block_dns.h
+++ b/src/include/block_dns.h
@@ -38,7 +38,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
38struct GNUNET_DNS_Advertisement 38struct GNUNET_DNS_Advertisement
39{ 39{
40 /** 40 /**
41 * Signature of the peer affirming that he is offering the service. 41 * Signature of the peer affirming that it is offering the service.
42 */ 42 */
43 struct GNUNET_CRYPTO_EddsaSignature signature; 43 struct GNUNET_CRYPTO_EddsaSignature signature;
44 44
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index e25043d17..b38f38b69 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -232,7 +232,7 @@ enum GNUNET_CORE_KxState
232 232
233 /** 233 /**
234 * The other peer has confirmed our session key + PING with a PONG 234 * The other peer has confirmed our session key + PING with a PONG
235 * message encrypted with his session key (which we got). Key 235 * message encrypted with their session key (which we got). Key
236 * exchange is done. 236 * exchange is done.
237 */ 237 */
238 GNUNET_CORE_KX_STATE_UP, 238 GNUNET_CORE_KX_STATE_UP,
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index 86957a25c..98469a156 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -556,7 +556,7 @@ GNUNET_OS_command_run (GNUNET_OS_LineProcessor proc,
556 556
557 557
558/** 558/**
559 * Retrieve the status of a process, waiting on him if dead. 559 * Retrieve the status of a process, waiting on it if dead.
560 * Nonblocking version. 560 * Nonblocking version.
561 * 561 *
562 * @param proc pointer to process structure 562 * @param proc pointer to process structure
@@ -586,7 +586,7 @@ GNUNET_OS_process_wait (struct GNUNET_OS_Process *proc);
586 586
587 587
588/** 588/**
589 * Retrieve the status of a process, waiting on him if dead. 589 * Retrieve the status of a process, waiting on it if dead.
590 * Blocking version. 590 * Blocking version.
591 * 591 *
592 * @param proc pointer to process structure 592 * @param proc pointer to process structure
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h
index f31de0e67..053fe4495 100644
--- a/src/include/gnunet_psyc_service.h
+++ b/src/include/gnunet_psyc_service.h
@@ -135,7 +135,7 @@ enum GNUNET_PSYC_ChannelFlags
135enum GNUNET_PSYC_Policy 135enum GNUNET_PSYC_Policy
136{ 136{
137 /** 137 /**
138 * Anyone can join the channel, without announcing his presence; 138 * Anyone can join the channel, without announcing their presence;
139 * all messages are always public and can be distributed freely. 139 * all messages are always public and can be distributed freely.
140 * Joins may be announced, but this is not required. 140 * Joins may be announced, but this is not required.
141 */ 141 */
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h
index bd11df982..a3f44222e 100644
--- a/src/include/gnunet_secretsharing_service.h
+++ b/src/include/gnunet_secretsharing_service.h
@@ -248,7 +248,7 @@ GNUNET_SECRETSHARING_encrypt (const struct GNUNET_SECRETSHARING_PublicKey *publi
248 * published the same value, it will be decrypted. 248 * published the same value, it will be decrypted.
249 * 249 *
250 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling 250 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling
251 * peer may already have irrevocably contributed his share for the decryption of the value. 251 * peer may already have irrevocably contributed its share for the decryption of the value.
252 * 252 *
253 * @param cfg configuration to use 253 * @param cfg configuration to use
254 * @param share our secret share to use for decryption 254 * @param share our secret share to use for decryption
@@ -273,7 +273,7 @@ GNUNET_SECRETSHARING_decrypt (const struct GNUNET_CONFIGURATION_Handle *cfg,
273 * Cancel a decryption. 273 * Cancel a decryption.
274 * 274 *
275 * The decrypt_cb is not called anymore, but the calling 275 * The decrypt_cb is not called anymore, but the calling
276 * peer may already have irrevocably contributed his share for the decryption of the value. 276 * peer may already have irrevocably contributed its share for the decryption of the value.
277 * 277 *
278 * @param dh to cancel 278 * @param dh to cancel
279 */ 279 */
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index bc9e3dc16..d7accaf2c 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -134,7 +134,7 @@ extern "C"
134 134
135/** 135/**
136 * Accept state in regex DFA. Peer affirms that 136 * Accept state in regex DFA. Peer affirms that
137 * he offers the matching service. 137 * it offers the matching service.
138 */ 138 */
139#define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18 139#define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18
140 140
diff --git a/src/namestore/test_namestore_api_sqlite.conf b/src/namestore/test_namestore_api_sqlite.conf
index 8c0e557e7..cd4822097 100644
--- a/src/namestore/test_namestore_api_sqlite.conf
+++ b/src/namestore/test_namestore_api_sqlite.conf
@@ -2,7 +2,7 @@
2 2
3[namestore] 3[namestore]
4DATABASE = sqlite 4DATABASE = sqlite
5PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=/tmp/v_log 5# PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=/tmp/v_log
6 6
7[namestore-sqlite] 7[namestore-sqlite]
8FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db 8FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db
diff --git a/src/nat/gnunet-helper-nat-server.c b/src/nat/gnunet-helper-nat-server.c
index 44817ede7..c5c6b563e 100644
--- a/src/nat/gnunet-helper-nat-server.c
+++ b/src/nat/gnunet-helper-nat-server.c
@@ -683,7 +683,10 @@ main (int argc,
683 if (1 == getppid ()) /* Check the parent process id, if 1 the parent has died, so we should die too */ 683 if (1 == getppid ()) /* Check the parent process id, if 1 the parent has died, so we should die too */
684 break; 684 break;
685 if (FD_ISSET (icmpsock, &rs)) 685 if (FD_ISSET (icmpsock, &rs))
686 {
686 process_icmp_response (); 687 process_icmp_response ();
688 continue;
689 }
687 if (0 == (++alt % 2)) 690 if (0 == (++alt % 2))
688 send_icmp_echo (&external); 691 send_icmp_echo (&external);
689 else 692 else
diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c
index 739f71dac..b3785a733 100644
--- a/src/rps/gnunet-rps.c
+++ b/src/rps/gnunet-rps.c
@@ -150,6 +150,11 @@ run (void *cls,
150 static struct GNUNET_PeerIdentity zero_pid; 150 static struct GNUNET_PeerIdentity zero_pid;
151 151
152 rps_handle = GNUNET_RPS_connect (cfg); 152 rps_handle = GNUNET_RPS_connect (cfg);
153 if (NULL == rps_handle)
154 {
155 FPRINTF (stderr, "Failed to connect to the rps service\n");
156 return;
157 }
153 158
154 if ((0 == memcmp (&zero_pid, &peer_id, sizeof (peer_id))) && 159 if ((0 == memcmp (&zero_pid, &peer_id, sizeof (peer_id))) &&
155 (!view_update)) 160 (!view_update))
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 33d4e4fc3..84fb33be2 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -243,7 +243,7 @@ struct PeerContext
243 243
244 /** 244 /**
245 * This is pobably followed by 'statistical' data (when we first saw 245 * This is pobably followed by 'statistical' data (when we first saw
246 * him, how did we get his ID, how many pushes (in a timeinterval), 246 * it, how did we get its ID, how many pushes (in a timeinterval),
247 * ...) 247 * ...)
248 */ 248 */
249}; 249};
@@ -724,7 +724,6 @@ mq_liveliness_check_successful (void *cls)
724 LOG (GNUNET_ERROR_TYPE_DEBUG, 724 LOG (GNUNET_ERROR_TYPE_DEBUG,
725 "Liveliness check for peer %s was successfull\n", 725 "Liveliness check for peer %s was successfull\n",
726 GNUNET_i2s (&peer_ctx->peer_id)); 726 GNUNET_i2s (&peer_ctx->peer_id));
727 //GNUNET_free (peer_ctx->liveliness_check_pending);
728 remove_pending_message (peer_ctx->liveliness_check_pending, GNUNET_YES); 727 remove_pending_message (peer_ctx->liveliness_check_pending, GNUNET_YES);
729 peer_ctx->liveliness_check_pending = NULL; 728 peer_ctx->liveliness_check_pending = NULL;
730 set_peer_live (peer_ctx); 729 set_peer_live (peer_ctx);
@@ -747,10 +746,6 @@ check_peer_live (struct PeerContext *peer_ctx)
747 struct GNUNET_MQ_Envelope *ev; 746 struct GNUNET_MQ_Envelope *ev;
748 747
749 ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_RPS_PP_CHECK_LIVE); 748 ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_RPS_PP_CHECK_LIVE);
750 //peer_ctx->liveliness_check_pending = GNUNET_new (struct PendingMessage);
751 //peer_ctx->liveliness_check_pending->ev = ev;
752 //peer_ctx->liveliness_check_pending->peer_ctx = peer_ctx;
753 //peer_ctx->liveliness_check_pending->type = "Check liveliness";
754 peer_ctx->liveliness_check_pending = 749 peer_ctx->liveliness_check_pending =
755 insert_pending_message (&peer_ctx->peer_id, ev, "Check liveliness"); 750 insert_pending_message (&peer_ctx->peer_id, ev, "Check liveliness");
756 mq = get_mq (&peer_ctx->peer_id); 751 mq = get_mq (&peer_ctx->peer_id);
@@ -1261,6 +1256,13 @@ Peers_remove_peer (const struct GNUNET_PeerIdentity *peer)
1261 "Removing unsent %s\n", 1256 "Removing unsent %s\n",
1262 peer_ctx->pending_messages_head->type); 1257 peer_ctx->pending_messages_head->type);
1263 /* Cancle pending message, too */ 1258 /* Cancle pending message, too */
1259 if ( (NULL != peer_ctx->liveliness_check_pending) &&
1260 (0 == memcmp (peer_ctx->pending_messages_head,
1261 peer_ctx->liveliness_check_pending,
1262 sizeof (struct PendingMessage))) )
1263 {
1264 peer_ctx->liveliness_check_pending = NULL;
1265 }
1264 remove_pending_message (peer_ctx->pending_messages_head, GNUNET_YES); 1266 remove_pending_message (peer_ctx->pending_messages_head, GNUNET_YES);
1265 } 1267 }
1266 /* If we are still waiting for notification whether this peer is live 1268 /* If we are still waiting for notification whether this peer is live
@@ -1272,7 +1274,7 @@ Peers_remove_peer (const struct GNUNET_PeerIdentity *peer)
1272 GNUNET_i2s (&peer_ctx->peer_id)); 1274 GNUNET_i2s (&peer_ctx->peer_id));
1273 // TODO wait until cadet sets mq->cancel_impl 1275 // TODO wait until cadet sets mq->cancel_impl
1274 //GNUNET_MQ_send_cancel (peer_ctx->liveliness_check_pending->ev); 1276 //GNUNET_MQ_send_cancel (peer_ctx->liveliness_check_pending->ev);
1275 GNUNET_free (peer_ctx->liveliness_check_pending); 1277 remove_pending_message (peer_ctx->liveliness_check_pending, GNUNET_YES);
1276 peer_ctx->liveliness_check_pending = NULL; 1278 peer_ctx->liveliness_check_pending = NULL;
1277 } 1279 }
1278 channel_flag = Peers_get_channel_flag (peer, Peers_CHANNEL_ROLE_SENDING); 1280 channel_flag = Peers_get_channel_flag (peer, Peers_CHANNEL_ROLE_SENDING);
@@ -2733,7 +2735,7 @@ cleanup_destroyed_channel (void *cls,
2733 return; 2735 return;
2734 } 2736 }
2735 else 2737 else
2736 { /* Other peer destroyed our sending channel that he is supposed to keep 2738 { /* Other peer destroyed our sending channel that it is supposed to keep
2737 * open. It probably went down. Remove it from our knowledge. */ 2739 * open. It probably went down. Remove it from our knowledge. */
2738 Peers_cleanup_destroyed_channel (cls, channel); 2740 Peers_cleanup_destroyed_channel (cls, channel);
2739 remove_peer (peer); 2741 remove_peer (peer);
@@ -3214,6 +3216,10 @@ handle_peer_push (void *cls,
3214 tmp_att_peer); 3216 tmp_att_peer);
3215 add_peer_array_to_set (peer, 1, att_peer_set); 3217 add_peer_array_to_set (peer, 1, att_peer_set);
3216 } 3218 }
3219 else
3220 {
3221 GNUNET_free (tmp_att_peer);
3222 }
3217 } 3223 }
3218 3224
3219 3225
@@ -3592,6 +3598,7 @@ handle_client_act_malicious (void *cls,
3592 3598
3593 num_mal_peers_sent = ntohl (msg->num_peers) - 1; 3599 num_mal_peers_sent = ntohl (msg->num_peers) - 1;
3594 num_mal_peers_old = num_mal_peers; 3600 num_mal_peers_old = num_mal_peers;
3601 GNUNET_assert (GNUNET_MAX_MALLOC_CHECKED > num_mal_peers_sent);
3595 GNUNET_array_grow (mal_peers, 3602 GNUNET_array_grow (mal_peers,
3596 num_mal_peers, 3603 num_mal_peers,
3597 num_mal_peers + num_mal_peers_sent); 3604 num_mal_peers + num_mal_peers_sent);
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index e7b82458a..08424022f 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -841,6 +841,13 @@ seed_peers (void *cls)
841 unsigned int amount; 841 unsigned int amount;
842 unsigned int i; 842 unsigned int i;
843 843
844 if (GNUNET_YES == in_shutdown || GNUNET_YES == post_test)
845 {
846 return;
847 }
848
849 GNUNET_assert (NULL != peer->rps_handle);
850
844 // TODO if malicious don't seed mal peers 851 // TODO if malicious don't seed mal peers
845 amount = round (.5 * num_peers); 852 amount = round (.5 * num_peers);
846 853
@@ -998,9 +1005,11 @@ rps_connect_adapter (void *cls,
998 struct GNUNET_RPS_Handle *h; 1005 struct GNUNET_RPS_Handle *h;
999 1006
1000 h = GNUNET_RPS_connect (cfg); 1007 h = GNUNET_RPS_connect (cfg);
1008 GNUNET_assert (NULL != h);
1001 1009
1002 if (NULL != cur_test_run.pre_test) 1010 if (NULL != cur_test_run.pre_test)
1003 cur_test_run.pre_test (cls, h); 1011 cur_test_run.pre_test (cls, h);
1012 GNUNET_assert (NULL != h);
1004 1013
1005 return h; 1014 return h;
1006} 1015}
diff --git a/src/secretsharing/gnunet-service-secretsharing.c b/src/secretsharing/gnunet-service-secretsharing.c
index 505af0fba..1f565cfeb 100644
--- a/src/secretsharing/gnunet-service-secretsharing.c
+++ b/src/secretsharing/gnunet-service-secretsharing.c
@@ -51,7 +51,7 @@ struct KeygenPeerInfo
51 struct GNUNET_CRYPTO_PaillierPublicKey paillier_public_key; 51 struct GNUNET_CRYPTO_PaillierPublicKey paillier_public_key;
52 52
53 /** 53 /**
54 * The peer's commitment to his presecret. 54 * The peer's commitment to its presecret.
55 */ 55 */
56 gcry_mpi_t presecret_commitment; 56 gcry_mpi_t presecret_commitment;
57 57
diff --git a/src/secretsharing/secretsharing_api.c b/src/secretsharing/secretsharing_api.c
index cfb13f520..2a828f08d 100644
--- a/src/secretsharing/secretsharing_api.c
+++ b/src/secretsharing/secretsharing_api.c
@@ -314,7 +314,7 @@ handle_decrypt_done (void *cls,
314 * published the same value, it will be decrypted. 314 * published the same value, it will be decrypted.
315 * 315 *
316 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling 316 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling
317 * peer may already have irrevocably contributed his share for the decryption of the value. 317 * peer may already have irrevocably contributed its share for the decryption of the value.
318 * 318 *
319 * @param share our secret share to use for decryption 319 * @param share our secret share to use for decryption
320 * @param ciphertext ciphertext to publish in order to decrypt it (if enough peers agree) 320 * @param ciphertext ciphertext to publish in order to decrypt it (if enough peers agree)
@@ -485,7 +485,7 @@ GNUNET_SECRETSHARING_encrypt (const struct GNUNET_SECRETSHARING_PublicKey *publi
485 * Cancel a decryption. 485 * Cancel a decryption.
486 * 486 *
487 * The decrypt_cb is not called anymore, but the calling 487 * The decrypt_cb is not called anymore, but the calling
488 * peer may already have irrevocably contributed his share for the decryption of the value. 488 * peer may already have irrevocably contributed its share for the decryption of the value.
489 * 489 *
490 * @param dh to cancel 490 * @param dh to cancel
491 */ 491 */
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h
index 7627deb30..da1454ec0 100644
--- a/src/secretsharing/secretsharing_protocol.h
+++ b/src/secretsharing/secretsharing_protocol.h
@@ -58,7 +58,7 @@ struct GNUNET_SECRETSHARING_KeygenCommitData
58 */ 58 */
59 struct GNUNET_CRYPTO_PaillierPublicKey pubkey; 59 struct GNUNET_CRYPTO_PaillierPublicKey pubkey;
60 /** 60 /**
61 * Commitment of 'peer' to his presecret. 61 * Commitment of 'peer' to its presecret.
62 */ 62 */
63 struct GNUNET_HashCode commitment GNUNET_PACKED; 63 struct GNUNET_HashCode commitment GNUNET_PACKED;
64}; 64};
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h
index c9e59b441..f7c262eac 100644
--- a/src/set/gnunet-service-set.h
+++ b/src/set/gnunet-service-set.h
@@ -125,7 +125,7 @@ typedef struct OperationState *
125 * @param op operation that is created, should be initialized to 125 * @param op operation that is created, should be initialized to
126 * begin the evaluation 126 * begin the evaluation
127 * @param opaque_context message to be transmitted to the listener 127 * @param opaque_context message to be transmitted to the listener
128 * to convince him to accept, may be NULL 128 * to convince it to accept, may be NULL
129 * @return operation-specific state to keep in @a op 129 * @return operation-specific state to keep in @a op
130 */ 130 */
131typedef struct OperationState * 131typedef struct OperationState *
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c
index 0561df406..254763b45 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -695,7 +695,7 @@ initialize_map_unfiltered (void *cls,
695 695
696/** 696/**
697 * Send our element count to the peer, in case our element count is 697 * Send our element count to the peer, in case our element count is
698 * lower than his. 698 * lower than theirs.
699 * 699 *
700 * @param op intersection operation 700 * @param op intersection operation
701 */ 701 */
@@ -1077,7 +1077,7 @@ handle_intersection_p2p_done (void *cls,
1077 * @param op operation that is created, should be initialized to 1077 * @param op operation that is created, should be initialized to
1078 * begin the evaluation 1078 * begin the evaluation
1079 * @param opaque_context message to be transmitted to the listener 1079 * @param opaque_context message to be transmitted to the listener
1080 * to convince him to accept, may be NULL 1080 * to convince it to accept, may be NULL
1081 * @return operation-specific state to keep in @a op 1081 * @return operation-specific state to keep in @a op
1082 */ 1082 */
1083static struct OperationState * 1083static struct OperationState *
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c
index 7af220374..c3c14f1ba 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -2149,7 +2149,7 @@ handle_union_p2p_done (void *cls,
2149 * 2149 *
2150 * We should notify the active peer once 2150 * We should notify the active peer once
2151 * all our demands are satisfied, so that the active 2151 * all our demands are satisfied, so that the active
2152 * peer can quit if we gave him everything. 2152 * peer can quit if we gave it everything.
2153 */ 2153 */
2154 GNUNET_CADET_receive_done (op->channel); 2154 GNUNET_CADET_receive_done (op->channel);
2155 maybe_finish (op); 2155 maybe_finish (op);
@@ -2194,7 +2194,7 @@ handle_union_p2p_over (void *cls,
2194 * 2194 *
2195 * @param op operation to perform (to be initialized) 2195 * @param op operation to perform (to be initialized)
2196 * @param opaque_context message to be transmitted to the listener 2196 * @param opaque_context message to be transmitted to the listener
2197 * to convince him to accept, may be NULL 2197 * to convince it to accept, may be NULL
2198 */ 2198 */
2199static struct OperationState * 2199static struct OperationState *
2200union_evaluate (struct Operation *op, 2200union_evaluate (struct Operation *op,
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 829fb5352..f7a4e4525 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -111,7 +111,7 @@ struct Peer
111 uint32_t strength; 111 uint32_t strength;
112 112
113 /** 113 /**
114 * Is this peer listed here because he is a friend? 114 * Is this peer listed here because it is a friend?
115 */ 115 */
116 int is_friend; 116 int is_friend;
117 117
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 6ebc6da8c..8c4f33fd0 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -612,7 +612,7 @@ notify_client_about_neighbour (void *cls,
612 612
613/** 613/**
614 * Initialize a normal client. We got a start message from this 614 * Initialize a normal client. We got a start message from this
615 * client, add him to the list of clients for broadcasting of inbound 615 * client, add it to the list of clients for broadcasting of inbound
616 * messages. 616 * messages.
617 * 617 *
618 * @param cls the client 618 * @param cls the client
@@ -2173,7 +2173,7 @@ test_connection_ok (void *cls,
2173 2173
2174/** 2174/**
2175 * Initialize a blacklisting client. We got a blacklist-init 2175 * Initialize a blacklisting client. We got a blacklist-init
2176 * message from this client, add him to the list of clients 2176 * message from this client, add it to the list of clients
2177 * to query for blacklisting. 2177 * to query for blacklisting.
2178 * 2178 *
2179 * @param cls the client 2179 * @param cls the client
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index b1f3965ad..3965bc13e 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -179,7 +179,7 @@ struct GNUNET_ATS_SessionQuotaMessage
179 179
180 180
181/** 181/**
182 * Message we send to the other peer to notify him that we intentionally 182 * Message we send to the other peer to notify it that we intentionally
183 * are disconnecting (to reduce timeouts). This is just a friendly 183 * are disconnecting (to reduce timeouts). This is just a friendly
184 * notification, peers must not rely on always receiving disconnect 184 * notification, peers must not rely on always receiving disconnect
185 * messages. 185 * messages.
@@ -3081,7 +3081,7 @@ master_task (void *cls)
3081 3081
3082/** 3082/**
3083 * Send a ACK message to the neighbour to confirm that we 3083 * Send a ACK message to the neighbour to confirm that we
3084 * got his SYN_ACK. 3084 * got its SYN_ACK.
3085 * 3085 *
3086 * @param n neighbour to send the ACK to 3086 * @param n neighbour to send the ACK to
3087 */ 3087 */
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in
index 4185acc29..c6b207ad7 100644
--- a/src/transport/transport.conf.in
+++ b/src/transport/transport.conf.in
@@ -9,7 +9,8 @@ BINARY = gnunet-service-transport
9NEIGHBOUR_LIMIT = 50 9NEIGHBOUR_LIMIT = 50
10ACCEPT_FROM = 127.0.0.1; 10ACCEPT_FROM = 127.0.0.1;
11ACCEPT_FROM6 = ::1; 11ACCEPT_FROM6 = ::1;
12PLUGINS = tcp udp 12# TCP is the only transport plugin known to work "reliably"
13PLUGINS = tcp
13UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock 14UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock
14BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist 15BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist
15UNIX_MATCH_UID = NO 16UNIX_MATCH_UID = NO
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index fc7953df2..53e1a6707 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -486,7 +486,6 @@ GNUNET_asprintf (char **buf,
486 *buf = GNUNET_malloc (ret + 1); 486 *buf = GNUNET_malloc (ret + 1);
487 va_start (args, format); 487 va_start (args, format);
488 ret = VSPRINTF (*buf, format, args); 488 ret = VSPRINTF (*buf, format, args);
489 GNUNET_free (buf);
490 va_end (args); 489 va_end (args);
491 return ret; 490 return ret;
492} 491}
diff --git a/src/util/disk.c b/src/util/disk.c
index 26b615df9..e0227be70 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -605,7 +605,6 @@ GNUNET_DISK_mktemp (const char *t)
605 umask (omask); 605 umask (omask);
606 if (0 != CLOSE (fd)) 606 if (0 != CLOSE (fd))
607 LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "close", fn); 607 LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "close", fn);
608 GNUNET_free (fn);
609 return fn; 608 return fn;
610} 609}
611 610
diff --git a/src/util/os_priority.c b/src/util/os_priority.c
index d13991334..a758f24f1 100644
--- a/src/util/os_priority.c
+++ b/src/util/os_priority.c
@@ -1588,7 +1588,7 @@ GNUNET_OS_start_process_s (int pipe_control,
1588 1588
1589 1589
1590/** 1590/**
1591 * Retrieve the status of a process, waiting on him if dead. 1591 * Retrieve the status of a process, waiting on it if dead.
1592 * Nonblocking version. 1592 * Nonblocking version.
1593 * 1593 *
1594 * @param proc process ID 1594 * @param proc process ID
@@ -1705,7 +1705,7 @@ process_status (struct GNUNET_OS_Process *proc,
1705 1705
1706 1706
1707/** 1707/**
1708 * Retrieve the status of a process, waiting on him if dead. 1708 * Retrieve the status of a process, waiting on it if dead.
1709 * Nonblocking version. 1709 * Nonblocking version.
1710 * 1710 *
1711 * @param proc process ID 1711 * @param proc process ID
@@ -1726,7 +1726,7 @@ GNUNET_OS_process_status (struct GNUNET_OS_Process *proc,
1726 1726
1727 1727
1728/** 1728/**
1729 * Retrieve the status of a process, waiting on him if dead. 1729 * Retrieve the status of a process, waiting on it if dead.
1730 * Blocking version. 1730 * Blocking version.
1731 * 1731 *
1732 * @param proc pointer to process structure 1732 * @param proc pointer to process structure