[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7238 - GNUnet/src/applications/fs/tools
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7238 - GNUnet/src/applications/fs/tools |
Date: |
Sun, 15 Jun 2008 08:13:43 -0600 (MDT) |
Author: durner
Date: 2008-06-15 08:13:42 -0600 (Sun, 15 Jun 2008)
New Revision: 7238
Modified:
GNUnet/src/applications/fs/tools/gnunet-auto-share.c
Log:
fixes
Modified: GNUnet/src/applications/fs/tools/gnunet-auto-share.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-auto-share.c 2008-06-15
13:28:25 UTC (rev 7237)
+++ GNUnet/src/applications/fs/tools/gnunet-auto-share.c 2008-06-15
14:13:42 UTC (rev 7238)
@@ -196,7 +196,11 @@
GNUNET_hash_to_enc (&hc, &enc);
return GNUNET_get_home_filename (ectx,
cfg,
+#ifndef MINGW
GNUNET_NO,
+#else
+ GNUNET_YES,
+#endif
"auto-share-info",
(const char *) &enc, NULL);
}
@@ -665,6 +669,9 @@
while (1)
if ((*dirs_idx2 == ';') || (*dirs_idx2 == '\0'))
{
+ int end;
+
+ end = *dirs_idx2 == '\0';
*dirs_idx2 = 0;
pos = GNUNET_malloc (sizeof (struct DirectoryRecord));
@@ -674,8 +681,8 @@
pos->run = 0;
pos->next = head;
head = pos;
-
- if (*dirs_idx2 == 0)
+
+ if (end)
break;
dirs_idx1 = ++dirs_idx2;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7238 - GNUnet/src/applications/fs/tools,
gnunet <=