gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5312 - in GNUnet/src/applications/fs: ecrs tools


From: gnunet
Subject: [GNUnet-SVN] r5312 - in GNUnet/src/applications/fs: ecrs tools
Date: Sun, 15 Jul 2007 12:21:10 -0600 (MDT)

Author: grothoff
Date: 2007-07-15 12:21:10 -0600 (Sun, 15 Jul 2007)
New Revision: 5312

Modified:
   GNUnet/src/applications/fs/ecrs/download.c
   GNUnet/src/applications/fs/tools/gnunet-insert.c
Log:
mfix

Modified: GNUnet/src/applications/fs/ecrs/download.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/download.c  2007-07-15 18:08:01 UTC (rev 
5311)
+++ GNUnet/src/applications/fs/ecrs/download.c  2007-07-15 18:21:10 UTC (rev 
5312)
@@ -292,15 +292,18 @@
    * progress data, etc.).
    */
   struct CommonCtx *ctx;
+
   /**
    * What is the CHK for this block?
    */
   CHK chk;
+
   /**
    * At what offset (on the respective level!) is this
    * block?
    */
   unsigned long long offset;
+
   /**
    * 0 for dblocks, >0 for iblocks.
    */
@@ -837,7 +840,7 @@
      this for level-0 nodes */
   if ((node->level == 0) &&
       ((node->offset + size < node->ctx->offset) ||
-       (node->offset > node->ctx->offset + node->ctx->length)))
+       (node->offset >= node->ctx->offset + node->ctx->length)))
     return YES;
 
   data = MALLOC (size);

Modified: GNUnet/src/applications/fs/tools/gnunet-insert.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-insert.c    2007-07-15 18:08:01 UTC 
(rev 5311)
+++ GNUnet/src/applications/fs/tools/gnunet-insert.c    2007-07-15 18:21:10 UTC 
(rev 5312)
@@ -173,8 +173,7 @@
       list = EXTRACTOR_getKeywords (l, fullName);
       list = EXTRACTOR_removeDuplicateKeywords (list,
                                                 EXTRACTOR_DUPLICATES_TYPELESS);
-      list = EXTRACTOR_removeKeywordsOfType(list,
-                                           EXTRACTOR_THUMBNAIL_DATA);
+      list = EXTRACTOR_removeKeywordsOfType (list, EXTRACTOR_THUMBNAIL_DATA);
       EXTRACTOR_printKeywords (stdout, list);
       EXTRACTOR_freeKeywords (list);
     }





reply via email to

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