gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r38041 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r38041 - gnunet/src/rps
Date: Fri, 30 Sep 2016 01:46:22 +0200

Author: ch3
Date: 2016-09-30 01:46:22 +0200 (Fri, 30 Sep 2016)
New Revision: 38041

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-fix rps service: memcpy() -> memmove()

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2016-09-29 13:27:13 UTC (rev 38040)
+++ gnunet/src/rps/gnunet-service-rps.c 2016-09-29 23:46:22 UTC (rev 38041)
@@ -399,7 +399,7 @@
     {
       if (i < *list_size -1)
       { /* Not at the last entry -- shift peers left */
-        GNUNET_memcpy (&tmp[i], &tmp[i +1],
+        memmove (&tmp[i], &tmp[i +1],
                 ((*list_size) - i -1) * sizeof (struct GNUNET_PeerIdentity));
       }
       /* Remove last entry (should be now useless PeerID) */




reply via email to

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