diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-07-30 16:32:58 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-07-30 16:32:58 +0200 |
commit | 8e62ce85d4e6b0d8b63dab3d63488f000d01c0d0 (patch) | |
tree | 4ef1a267db780086d2217ba71528c6690465fc8d /src/transport/gnunet-communicator-udp.c | |
parent | b96a52aaea0039b54fe711e24e0b44746457b438 (diff) | |
download | gnunet-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.c | 2 |
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 | } |