gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16087 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r16087 - gnunet/src/fs
Date: Mon, 18 Jul 2011 14:20:03 +0200

Author: grothoff
Date: 2011-07-18 14:20:03 +0200 (Mon, 18 Jul 2011)
New Revision: 16087

Modified:
   gnunet/src/fs/fs_download.c
Log:
fix

Modified: gnunet/src/fs/fs_download.c
===================================================================
--- gnunet/src/fs/fs_download.c 2011-07-18 12:06:03 UTC (rev 16086)
+++ gnunet/src/fs/fs_download.c 2011-07-18 12:20:03 UTC (rev 16087)
@@ -1050,7 +1050,7 @@
   size_t bs;
   size_t app;
   int i;
-  struct ContentHashKey *chk;
+  struct ContentHashKey *chkarr;
 
 #if DEBUG_DOWNLOAD
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -1245,14 +1245,14 @@
              (unsigned long long) dr->offset);
 #endif
   GNUNET_assert (0 == (prc->size % sizeof(struct ContentHashKey)));
-  chk = (struct ContentHashKey*) pt;
+  chkarr = (struct ContentHashKey*) pt;
   for (i=(prc->size / sizeof(struct ContentHashKey))-1;i>=0;i--)
     {
       drc = dr->children[i];
       switch (drc->state)
        {
        case BRS_INIT:
-         drc->chk = chk[i];
+         drc->chk = chkarr[i];
          drc->state = BRS_CHK_SET;
          schedule_block_download (dc, drc);
          break;




reply via email to

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