aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-communicator-udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c
index 9c2eddbdb..ab8dd6816 100644
--- a/src/transport/gnunet-communicator-udp.c
+++ b/src/transport/gnunet-communicator-udp.c
@@ -1410,6 +1410,8 @@ destroy_all_secrets (struct SharedSecret *ss, int withoutKce)
1410 ss_to_destroy = pos; 1410 ss_to_destroy = pos;
1411 pos = pos->next; 1411 pos = pos->next;
1412 1412
1413 // FIXME This is broken. the variable gets overwritten and it is unclear
1414 // what this is supposed to achieve.
1413 if (ss != ss_to_destroy) 1415 if (ss != ss_to_destroy)
1414 at_least_one_destroyed = secret_destroy (ss_to_destroy, withoutKce); 1416 at_least_one_destroyed = secret_destroy (ss_to_destroy, withoutKce);
1415 } 1417 }