[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2748 - GNUnet/src/applications/fs/module
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2748 - GNUnet/src/applications/fs/module |
Date: |
Fri, 5 May 2006 16:58:09 -0700 (PDT) |
Author: grothoff
Date: 2006-05-05 16:58:06 -0700 (Fri, 05 May 2006)
New Revision: 2748
Modified:
GNUnet/src/applications/fs/module/migration.c
Log:
key must be static -- may fix Mantis 1025
Modified: GNUnet/src/applications/fs/module/migration.c
===================================================================
--- GNUnet/src/applications/fs/module/migration.c 2006-05-05 23:49:18 UTC
(rev 2747)
+++ GNUnet/src/applications/fs/module/migration.c 2006-05-05 23:58:06 UTC
(rev 2748)
@@ -76,7 +76,6 @@
* first time).
*/
static Datastore_Value * content;
-
/**
* Callback method for pushing content into the network.
@@ -97,8 +96,10 @@
activeMigrationCallback(const PeerIdentity * receiver,
void * position,
unsigned int padding) {
+ /** key corresponding to content (if content != NULL);
+ yes, must be static! */
+ static HashCode512 key;
unsigned int ret;
- HashCode512 key;
GapWrapper * gw;
unsigned int size;
cron_t et;
@@ -182,7 +183,6 @@
"gap's tryMigrate returned %u\n",
ret);
#endif
-
} else {
#if DEBUG_MIGRATION
LOG(LOG_DEBUG,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2748 - GNUnet/src/applications/fs/module,
grothoff <=