gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6302 - GNUnet/src/applications/fs/tools


From: gnunet
Subject: [GNUnet-SVN] r6302 - GNUnet/src/applications/fs/tools
Date: Thu, 14 Feb 2008 22:56:07 -0700 (MST)

Author: grothoff
Date: 2008-02-14 22:56:07 -0700 (Thu, 14 Feb 2008)
New Revision: 6302

Modified:
   GNUnet/src/applications/fs/tools/gnunet-auto-share.c
Log:
fix

Modified: GNUnet/src/applications/fs/tools/gnunet-auto-share.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-auto-share.c        2008-02-15 
05:53:56 UTC (rev 6301)
+++ GNUnet/src/applications/fs/tools/gnunet-auto-share.c        2008-02-15 
05:56:07 UTC (rev 6302)
@@ -130,6 +130,8 @@
   struct stat buf;
   char * fn;
 
+  if (filename[0] == '.')
+    return GNUNET_OK;
   if (ul != NULL)
     return GNUNET_SYSERR;
   fn = GNUNET_malloc(strlen(filename) + strlen(dirName) + 2);
@@ -165,9 +167,10 @@
   struct stat buf;
   char * fn;
 
+  if (filename[0] == '.')
+    return GNUNET_OK;
   if (ul != NULL)
-    return GNUNET_SYSERR;
-  
+    return GNUNET_SYSERR;  
   fn = GNUNET_malloc(strlen(filename) + strlen(dirName) + 2);
   strcpy(fn, dirName);
   strcat(fn, DIR_SEPARATOR_STR);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]