[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6813 - GNUnet/src/applications/fs/fsui
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6813 - GNUnet/src/applications/fs/fsui |
Date: |
Mon, 12 May 2008 14:35:21 -0600 (MDT) |
Author: grothoff
Date: 2008-05-12 14:34:50 -0600 (Mon, 12 May 2008)
New Revision: 6813
Modified:
GNUnet/src/applications/fs/fsui/recursive_download_test.c
GNUnet/src/applications/fs/fsui/unindex.c
Log:
cleanup
Modified: GNUnet/src/applications/fs/fsui/recursive_download_test.c
===================================================================
--- GNUnet/src/applications/fs/fsui/recursive_download_test.c 2008-05-12
20:33:56 UTC (rev 6812)
+++ GNUnet/src/applications/fs/fsui/recursive_download_test.c 2008-05-12
20:34:50 UTC (rev 6813)
@@ -139,7 +139,10 @@
fn = makeName (i);
if (GNUNET_disk_directory_test (NULL, fn) != GNUNET_YES)
- return GNUNET_SYSERR;
+ {
+ GNUNET_free (fn);
+ return GNUNET_SYSERR;
+ }
res = ((makeHierarchyHelper (fn, tree, 0, 1) == -1) ?
GNUNET_SYSERR : GNUNET_OK);
GNUNET_free (fn);
@@ -267,7 +270,6 @@
struct GNUNET_ECRS_MetaData *meta = NULL;
struct GNUNET_ECRS_URI *kuri = NULL;
struct GNUNET_GC_Configuration *cfg;
- struct GNUNET_FSUI_UnindexList *unindex = NULL;
struct GNUNET_FSUI_UploadList *upload = NULL;
ok = GNUNET_YES;
@@ -344,8 +346,6 @@
GNUNET_ECRS_meta_data_destroy (meta);
if (ctx != NULL)
{
- if (unindex != NULL)
- GNUNET_FSUI_unindex_stop (unindex);
if (download != NULL)
GNUNET_FSUI_download_stop (download);
GNUNET_FSUI_stop (ctx);
Modified: GNUnet/src/applications/fs/fsui/unindex.c
===================================================================
--- GNUnet/src/applications/fs/fsui/unindex.c 2008-05-12 20:33:56 UTC (rev
6812)
+++ GNUnet/src/applications/fs/fsui/unindex.c 2008-05-12 20:34:50 UTC (rev
6813)
@@ -251,13 +251,10 @@
void *unused;
GNUNET_FSUI_Event event;
+ if (dl == NULL)
+ return GNUNET_SYSERR;
ctx = dl->ctx;
ectx = ctx->ectx;
- if (dl == NULL)
- {
- GNUNET_GE_BREAK (ectx, 0);
- return GNUNET_SYSERR;
- }
#if 0
GNUNET_GE_LOG (ectx,
GNUNET_GE_DEBUG | GNUNET_GE_REQUEST | GNUNET_GE_USER,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6813 - GNUnet/src/applications/fs/fsui,
gnunet <=