[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7109 - GNUnet/src/applications/fs/tools
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7109 - GNUnet/src/applications/fs/tools |
Date: |
Mon, 9 Jun 2008 10:10:22 -0600 (MDT) |
Author: grothoff
Date: 2008-06-09 10:10:22 -0600 (Mon, 09 Jun 2008)
New Revision: 7109
Modified:
GNUnet/src/applications/fs/tools/gnunet-auto-share.c
Log:
fixing CTRL-C handling and re-scan bug
Modified: GNUnet/src/applications/fs/tools/gnunet-auto-share.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-auto-share.c 2008-06-09
16:08:19 UTC (rev 7108)
+++ GNUnet/src/applications/fs/tools/gnunet-auto-share.c 2008-06-09
16:10:22 UTC (rev 7109)
@@ -197,7 +197,7 @@
GNUNET_free (fn);
return GNUNET_OK;
}
- rec = find_entry (filename);
+ rec = find_entry (fn);
if (rec == NULL)
{
rec = GNUNET_malloc (sizeof (struct FileRecord));
@@ -298,6 +298,8 @@
char *keys;
int run;
+ if (GNUNET_shutdown_test())
+ return GNUNET_SYSERR; /* aborted */
if (filename[0] == '.')
return GNUNET_OK;
if (ul != NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7109 - GNUnet/src/applications/fs/tools,
gnunet <=