[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4809 - GNUnet/src/applications/fs/fsui
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4809 - GNUnet/src/applications/fs/fsui |
Date: |
Sun, 27 May 2007 15:36:04 -0600 (MDT) |
Author: grothoff
Date: 2007-05-27 15:36:04 -0600 (Sun, 27 May 2007)
New Revision: 4809
Modified:
GNUnet/src/applications/fs/fsui/upload.c
Log:
fixing Mantis #1210
Modified: GNUnet/src/applications/fs/fsui/upload.c
===================================================================
--- GNUnet/src/applications/fs/fsui/upload.c 2007-05-27 20:58:58 UTC (rev
4808)
+++ GNUnet/src/applications/fs/fsui/upload.c 2007-05-27 21:36:04 UTC (rev
4809)
@@ -122,10 +122,6 @@
count++;
pos = pos->next;
}
- if (count == 0) {
- GE_BREAK(ectx, 0);
- return NULL;
- }
GROW(fis,
size,
count);
@@ -272,7 +268,8 @@
}
if (utc->state != FSUI_ACTIVE)
return NULL; /* aborted or suspended */
- if (utc->child != NULL) {
+ if (YES == disk_directory_test(ectx,
+ utc->filename)) {
error = NULL;
filename = createDirectoryHelper(ectx,
utc->shared->ctx->cfg,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4809 - GNUnet/src/applications/fs/fsui,
gnunet <=