[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25957 - gnunet/src/exit
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25957 - gnunet/src/exit |
Date: |
Thu, 31 Jan 2013 10:47:21 +0100 |
Author: grothoff
Date: 2013-01-31 10:47:21 +0100 (Thu, 31 Jan 2013)
New Revision: 25957
Modified:
gnunet/src/exit/gnunet-helper-exit-windows.c
Log:
-stuff
Modified: gnunet/src/exit/gnunet-helper-exit-windows.c
===================================================================
--- gnunet/src/exit/gnunet-helper-exit-windows.c 2013-01-31 09:45:19 UTC
(rev 25956)
+++ gnunet/src/exit/gnunet-helper-exit-windows.c 2013-01-31 09:47:21 UTC
(rev 25957)
@@ -54,8 +54,16 @@
* Should we print (interesting|debug) messages that can happen during
* normal operation?
*/
-//#define DEBUG GNUNET_YES
+#define DEBUG GNUNET_NO
+#if DEBUG
+/* FIXME: define with varargs... */
+#define LOG_DEBUG(msg) fprintf (stderr, "%s", msg);
+#else
+#deifne LOG_DEBUG(msg) do {} while (0)
+#endif
+
+
/**
* Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE)
*/
@@ -232,7 +240,7 @@
(NULL == (pipe = _popen (command, "rt"))) )
return EINVAL;
-#ifdef DEBUG
+#if DEBUG
fprintf (stderr, "DEBUG: Command output: \n");
char output[LINE_LEN];
while (NULL != fgets (output, sizeof (output), pipe))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25957 - gnunet/src/exit,
gnunet <=