Comment out all debugging code.

This commit is contained in:
Martin Baulig
2000-01-14 11:49:10 +00:00
parent f11195b104
commit dd17bc8f92
8 changed files with 20 additions and 30 deletions

View File

@@ -29,10 +29,6 @@
#include <glibtop-backend-private.h>
#ifndef DEBUG
#define DEBUG 1
#endif
void
glibtop_read_i (glibtop *server, glibtop_backend *backend,
size_t size, void *buf)
@@ -48,7 +44,9 @@ glibtop_read_i (glibtop *server, glibtop_backend *backend,
ret = read (backend->_priv->input [0], buf, size);
#ifdef DEBUG
fprintf (stderr, "LIBRARY: read %d bytes.\n", ret);
#endif
if (ret < 0)
glibtop_error_io_r (server, "read %d bytes", size);