gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r20838 - in gnunet/src: hello util


From: gnunet
Subject: [GNUnet-SVN] r20838 - in gnunet/src: hello util
Date: Sun, 1 Apr 2012 20:10:16 +0200

Author: grothoff
Date: 2012-04-01 20:10:16 +0200 (Sun, 01 Apr 2012)
New Revision: 20838

Modified:
   gnunet/src/hello/test_hello.c
   gnunet/src/util/disk.c
   gnunet/src/util/network.c
Log:
-do not warn if stat fails, do not output DEBUG messages in test

Modified: gnunet/src/hello/test_hello.c
===================================================================
--- gnunet/src/hello/test_hello.c       2012-04-01 17:59:40 UTC (rev 20837)
+++ gnunet/src/hello/test_hello.c       2012-04-01 18:10:16 UTC (rev 20838)
@@ -25,7 +25,7 @@
 #include "platform.h"
 #include "gnunet_hello_lib.h"
 
-#define DEBUG GNUNET_EXTRA_LOGGING
+#define DEBUG GNUNET_NO
 
 #define VERBOSE GNUNET_NO
 

Modified: gnunet/src/util/disk.c
===================================================================
--- gnunet/src/util/disk.c      2012-04-01 17:59:40 UTC (rev 20837)
+++ gnunet/src/util/disk.c      2012-04-01 18:10:16 UTC (rev 20838)
@@ -171,13 +171,13 @@
 #ifdef HAVE_STAT64
   if (0 != STAT64 (fn, &buf))
   {
-    LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "stat64", fn);
+    LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_DEBUG, "stat64", fn);
     return GNUNET_SYSERR;
   }
 #else
   if (0 != STAT (fn, &buf))
   {
-    LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "stat", fn);
+    LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_DEBUG, "stat", fn);
     return GNUNET_SYSERR;
   }
 #endif

Modified: gnunet/src/util/network.c
===================================================================
--- gnunet/src/util/network.c   2012-04-01 17:59:40 UTC (rev 20837)
+++ gnunet/src/util/network.c   2012-04-01 18:10:16 UTC (rev 20838)
@@ -1516,10 +1516,8 @@
       }
     }
   }
-#if DEBUG_NETWORK
   if (!nhandles || (returnedpos >= nhandles))
     LOG (GNUNET_ERROR_TYPE_DEBUG, "Returning from _select() with nothing!\n");
-#endif
   if (rfds)
   {
     struct GNUNET_CONTAINER_SList_Iterator t;




reply via email to

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