gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r2485 - in GNUnet/src/applications: datastore fs/ecrs fs/mo


From: grothoff
Subject: [GNUnet-SVN] r2485 - in GNUnet/src/applications: datastore fs/ecrs fs/module gap
Date: Sat, 11 Mar 2006 14:47:07 -0800 (PST)

Author: grothoff
Date: 2006-03-11 14:47:05 -0800 (Sat, 11 Mar 2006)
New Revision: 2485

Modified:
   GNUnet/src/applications/datastore/datastore.c
   GNUnet/src/applications/fs/ecrs/download.c
   GNUnet/src/applications/fs/module/querymanager.c
   GNUnet/src/applications/gap/gap.c
Log:
fix

Modified: GNUnet/src/applications/datastore/datastore.c
===================================================================
--- GNUnet/src/applications/datastore/datastore.c       2006-03-11 22:43:19 UTC 
(rev 2484)
+++ GNUnet/src/applications/datastore/datastore.c       2006-03-11 22:47:05 UTC 
(rev 2485)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2001, 2002, 2003, 2004, 2005 Christian Grothoff (and other 
contributing authors)
+     (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other 
contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published

Modified: GNUnet/src/applications/fs/ecrs/download.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/download.c  2006-03-11 22:43:19 UTC (rev 
2484)
+++ GNUnet/src/applications/fs/ecrs/download.c  2006-03-11 22:47:05 UTC (rev 
2485)
@@ -164,6 +164,8 @@
   for (i=0;i<=this->treedepth;i++) {
     fn = MALLOC(strlen(filename) + 3);
     strcpy(fn, filename);
+    if (fn[strlen(fn)-1] == DIR_SEPARATOR)
+      fn[strlen(fn)-1] = '\0';
     if (i > 0) {
       strcat(fn, ".A");
       fn[strlen(fn)-1] += i;
@@ -173,7 +175,7 @@
                                S_IRUSR|S_IWUSR );
     if (this->handles[i] < 0) {
       LOG_FILE_STRERROR(LOG_FAILURE,
-                       "OPEN",
+                       "open",
                        fn);
       freeIOC(this, NO);
       FREE(fn);

Modified: GNUnet/src/applications/fs/module/querymanager.c
===================================================================
--- GNUnet/src/applications/fs/module/querymanager.c    2006-03-11 22:43:19 UTC 
(rev 2484)
+++ GNUnet/src/applications/fs/module/querymanager.c    2006-03-11 22:47:05 UTC 
(rev 2485)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2001, 2002, 2003, 2004, 2005 Christian Grothoff (and other 
contributing authors)
+     (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other 
contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published

Modified: GNUnet/src/applications/gap/gap.c
===================================================================
--- GNUnet/src/applications/gap/gap.c   2006-03-11 22:43:19 UTC (rev 2484)
+++ GNUnet/src/applications/gap/gap.c   2006-03-11 22:47:05 UTC (rev 2485)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet
-     (C) 2001, 2002, 2003, 2004, 2005 Christian Grothoff (and other 
contributing authors)
+     (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other 
contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published





reply via email to

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