gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 03/05: Transport: Fixed ring buffer.


From: gnunet
Subject: [gnunet] 03/05: Transport: Fixed ring buffer.
Date: Fri, 15 Dec 2023 10:53:27 +0100

This is an automated email from the git hooks/post-receive script.

t3sserakt pushed a commit to branch master
in repository gnunet.

commit e22e6375d420817c7024f7038ea86a9c4e2bac45
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Fri Dec 15 10:46:05 2023 +0100

    Transport: Fixed ring buffer.
---
 src/service/transport/gnunet-service-transport.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/service/transport/gnunet-service-transport.c 
b/src/service/transport/gnunet-service-transport.c
index 5f1ddec66..d0d605465 100644
--- a/src/service/transport/gnunet-service-transport.c
+++ b/src/service/transport/gnunet-service-transport.c
@@ -6835,7 +6835,7 @@ send_msg_from_cache (struct VirtualLink *vl)
       }
       else
       {
-        ring_buffer_copy[i] = rbe;
+        ring_buffer_copy[ring_buffer_head] = rbe;
         ring_buffer_head++;
       }
     }
@@ -6902,7 +6902,7 @@ send_msg_from_cache (struct VirtualLink *vl)
       }
       else
       {
-        ring_buffer_dv_copy[i] = pm;
+        ring_buffer_dv_copy[ring_buffer_dv_head] = pm;
         ring_buffer_dv_head++;
       }
     }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]