libgtop r2736 - trunk/src/daemon



Author: bdejean
Date: Mon Apr 14 17:22:03 2008
New Revision: 2736
URL: http://svn.gnome.org/viewvc/libgtop?rev=2736&view=rev

Log:
Fixed debug macro name.


Modified:
   trunk/src/daemon/io.c

Modified: trunk/src/daemon/io.c
==============================================================================
--- trunk/src/daemon/io.c	(original)
+++ trunk/src/daemon/io.c	Mon Apr 14 17:22:03 2008
@@ -27,7 +27,7 @@
 do_output (int s, glibtop_response *resp, off_t offset,
 	   size_t data_size, const void *data)
 {
-#ifdef REAL_DEBUG
+#ifdef DEBUG
 	fprintf (stderr, "Really writing %d bytes at offset %lu.\n",
 		 sizeof (glibtop_response), offset);
 #endif
@@ -44,7 +44,7 @@
 	}
 
 	if (resp->data_size) {
-#ifdef REAL_DEBUG
+#ifdef DEBUG
 		fprintf (stderr, "Writing %d bytes of data.\n", resp->data_size);
 #endif
 
@@ -88,7 +88,7 @@
 		tmp_ptr += nread;
 		ptr = tmp_ptr;
 
-#ifdef REAL_DEBUG
+#ifdef DEBUG
 		fprintf (stderr, "READ (%d): %d - %d - %d\n",
 			 nread, already_read, remaining, total_size);
 #endif



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