[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26773 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26773 - gnunet/src/ats |
Date: |
Fri, 5 Apr 2013 14:22:52 +0200 |
Author: wachs
Date: 2013-04-05 14:22:52 +0200 (Fri, 05 Apr 2013)
New Revision: 26773
Modified:
gnunet/src/ats/gnunet-service-ats_addresses.c
Log:
fix
Modified: gnunet/src/ats/gnunet-service-ats_addresses.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses.c 2013-04-05 11:46:23 UTC
(rev 26772)
+++ gnunet/src/ats/gnunet-service-ats_addresses.c 2013-04-05 12:22:52 UTC
(rev 26773)
@@ -459,8 +459,9 @@
if (add_atsi_count > 0)
{
/* Extend ats performance information */
+
tmp_atsi = GNUNET_malloc ((dest->atsi_count + add_atsi_count) *
- sizeof (sizeof (struct
GNUNET_ATS_Information)));
+
(sizeof (struct
GNUNET_ATS_Information)));
memcpy (tmp_atsi, dest->atsi, dest->atsi_count * sizeof (struct
GNUNET_ATS_Information));
memcpy (&tmp_atsi[dest->atsi_count], add_atsi, add_atsi_count *
sizeof (struct GNUNET_ATS_Information));
GNUNET_free (dest->atsi);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26773 - gnunet/src/ats,
gnunet <=