-removing legacy #ifdefs
authorChristian Grothoff <christian@grothoff.org>
Sun, 1 Apr 2012 16:11:16 +0000 (16:11 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 1 Apr 2012 16:11:16 +0000 (16:11 +0000)
src/util/network.c

index 9371ae6f6b58678c6e980c0b7c09325ed0ff1399..217cebc77046fe6f8042fa4f241e60cb1f3f7fba 100644 (file)
@@ -1398,21 +1398,14 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
   }
 
   handle_array[nhandles] = NULL;
-
-#if DEBUG_NETWORK
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Number nfds : %d\n", nfds);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Number of handles : %d\n", nhandles);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "retcode : %d\n", newretcode);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Will wait : %d\n", ms_total);
-#endif
-
+  LOG (GNUNET_ERROR_TYPE_DEBUG, 
+       "Number nfds: %d, handles: %d, return code: %u will wait: %d ms\n", 
+       nfds, nhandles, newretcode, ms_total);
   if (nhandles)
     returncode =
         WaitForMultipleObjects (nhandles, handle_array, FALSE, ms_total);
-#if DEBUG_NETWORK
   LOG (GNUNET_ERROR_TYPE_DEBUG, "WaitForMultipleObjects Returned : %d\n",
        returncode);
-#endif
 
   returnedpos = returncode - WAIT_OBJECT_0;
   LOG (GNUNET_ERROR_TYPE_DEBUG, "return pos is : %d\n", returnedpos);