gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1464 - in GNUnet/src: applications/fs/ecrs include


From: grothoff
Subject: [GNUnet-SVN] r1464 - in GNUnet/src: applications/fs/ecrs include
Date: Wed, 13 Jul 2005 07:51:23 -0700 (PDT)

Author: grothoff
Date: 2005-07-13 07:51:18 -0700 (Wed, 13 Jul 2005)
New Revision: 1464

Modified:
   GNUnet/src/applications/fs/ecrs/unindex.c
   GNUnet/src/include/fs.h
Log:
bugfixes

Modified: GNUnet/src/applications/fs/ecrs/unindex.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/unindex.c   2005-07-13 14:26:33 UTC (rev 
1463)
+++ GNUnet/src/applications/fs/ecrs/unindex.c   2005-07-13 14:51:18 UTC (rev 
1464)
@@ -121,7 +121,6 @@
   EncName enc;
   char * serverDir;
   char * serverFN;
-  char * tmpName;
   struct stat buf;
 
 #ifndef S_ISLNK
@@ -156,13 +155,10 @@
         (char*)&enc);
 
   if (0 != UNLINK(serverFN)) {
+    LOG_FILE_STRERROR(LOG_ERROR, "unlink", serverFN);
     FREE(serverFN);
-    FREE(tmpName);
-    LOG_FILE_STRERROR(LOG_ERROR, "unlink", tmpName);
     return SYSERR;
   }
-
-  FREE(tmpName);
   FREE(serverFN);
   return OK;
 }

Modified: GNUnet/src/include/fs.h
===================================================================
--- GNUnet/src/include/fs.h     2005-07-13 14:26:33 UTC (rev 1463)
+++ GNUnet/src/include/fs.h     2005-07-13 14:51:18 UTC (rev 1464)
@@ -59,8 +59,6 @@
    */
   unsigned int anonymityLevel;
 
-  unsigned int reserved; /*  for 64-bit alignment */
-
   /**
    * What are the queries?
    */





reply via email to

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