summaryrefslogtreecommitdiff
path: root/collector.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@redhat.com>2006-01-14 04:00:59 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-01-14 04:00:59 +0000
commit2d525523f85341ee39ed419a2a1c720672d968ab (patch)
treeb4f16a567d0b63b534bee076d7f8fd35029853fa /collector.c
parentc65bfcc1142e78a9bf8190f6a6558b1ed3a71cb9 (diff)
Initialize retval.
Fri Jan 13 22:59:48 2006 Soeren Sandmann <sandmann@redhat.com> * module/sysprof-module.c (sysprof_open): Initialize retval. * module/sysprof-module.c (sysprof_read): Copy contents of trace, not tail to the buffer.
Diffstat (limited to 'collector.c')
-rw-r--r--collector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector.c b/collector.c
index 2adb2a4..fd486a9 100644
--- a/collector.c
+++ b/collector.c
@@ -114,7 +114,7 @@ on_read (gpointer data)
if (rd == -1 && errno == EWOULDBLOCK)
return;
-
+
g_get_current_time (&now);
/* After a reset we ignore samples for a short period so that