[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r882 - GNUnet/src/applications/fs/module
From: |
durner |
Subject: |
[GNUnet-SVN] r882 - GNUnet/src/applications/fs/module |
Date: |
Tue, 7 Jun 2005 10:18:05 -0700 (PDT) |
Author: durner
Date: 2005-06-07 10:18:02 -0700 (Tue, 07 Jun 2005)
New Revision: 882
Modified:
GNUnet/src/applications/fs/module/ondemand.c
Log:
fix
Modified: GNUnet/src/applications/fs/module/ondemand.c
===================================================================
--- GNUnet/src/applications/fs/module/ondemand.c 2005-06-07 13:32:36 UTC
(rev 881)
+++ GNUnet/src/applications/fs/module/ondemand.c 2005-06-07 17:18:02 UTC
(rev 882)
@@ -113,6 +113,7 @@
EncName enc;
char * serverDir;
char * serverFN;
+ char *tmp;
char unavail_key[256];
HashCode512 linkId;
@@ -130,9 +131,9 @@
strlen("/data/shared/") + 1);
strcat(serverDir, "/data/shared/");
}
- fn = expandFileName(serverDir);
+ tmp = expandFileName(serverDir);
FREE(serverDir);
- serverDir = fn;
+ serverDir = tmp;
if ( (SYSERR == getFileHash(fn,
&linkId)) ||
(! equalsHashCode512(&linkId,
@@ -141,7 +142,6 @@
return NO;
}
-
serverFN = MALLOC(strlen(serverDir) + 2 + sizeof(EncName));
strcpy(serverFN,
serverDir);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r882 - GNUnet/src/applications/fs/module,
durner <=