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:
bca0e09
)
RPS: NULL out cadet port after closing
author
Julius Bünger
<buenger@mytum.de>
Tue, 26 Feb 2019 15:13:21 +0000
(16:13 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Tue, 26 Feb 2019 15:13:21 +0000
(16:13 +0100)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index 7e032997e4ce972e1a51ee4d6e1d55ca165f998b..1f9f7ba79d0876fb732fd7f327cacd9d7d41e515 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-2993,6
+2993,7
@@
destroy_sub (struct Sub *sub)
/* Disconnect from cadet */
GNUNET_CADET_close_port (sub->cadet_port);
+ sub->cadet_port= NULL;
/* Clean up data structures for peers */
RPS_sampler_destroy (sub->sampler);