aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-udp.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-07-30 16:32:58 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-07-30 16:32:58 +0200
commit8e62ce85d4e6b0d8b63dab3d63488f000d01c0d0 (patch)
tree4ef1a267db780086d2217ba71528c6690465fc8d /src/transport/gnunet-communicator-udp.c
parentb96a52aaea0039b54fe711e24e0b44746457b438 (diff)
downloadgnunet-8e62ce85d4e6b0d8b63dab3d63488f000d01c0d0.tar.gz
gnunet-8e62ce85d4e6b0d8b63dab3d63488f000d01c0d0.zip
TNG: Commen UDP
Diffstat (limited to 'src/transport/gnunet-communicator-udp.c')
-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 }