gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r6559 - GNUnet/src/applications/fs/tools
Date: Tue, 11 Mar 2008 15:05:18 -0600 (MDT)

Author: durner
Date: 2008-03-11 15:05:17 -0600 (Tue, 11 Mar 2008)
New Revision: 6559

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

Modified: GNUnet/src/applications/fs/tools/gnunet-auto-share.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-auto-share.c        2008-03-11 
20:43:22 UTC (rev 6558)
+++ GNUnet/src/applications/fs/tools/gnunet-auto-share.c        2008-03-11 
21:05:17 UTC (rev 6559)
@@ -542,6 +542,7 @@
   char *dirname;
 
   errorCode = 0;
+  myout = stdout;
   i = GNUNET_init (argc,
                    argv,
                    "gnunet-auto-share [OPTIONS] DIRECTORY",
@@ -559,12 +560,8 @@
       errorCode = -1;
       goto end;
     }
-  if (GNUNET_YES == debug_flag)
+  if (GNUNET_YES != debug_flag)
     {
-      myout = stdout;
-    }
-  else
-    {
       GNUNET_GC_get_configuration_value_filename (cfg,
                                                   "GNUNET-AUTO-SHARE",
                                                   "LOGFILE",





reply via email to

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