From: compudj Date: Wed, 26 May 2004 02:42:55 +0000 (+0000) Subject: minor typos X-Git-Tag: v0.12.20~2940 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0dfebcb914302e3ff21708ca1347609009198313;p=lttv.git minor typos git-svn-id: http://ltt.polymtl.ca/svn@549 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/event.c b/ltt/branches/poly/ltt/event.c index bd9a8fbe..68920d22 100644 --- a/ltt/branches/poly/ltt/event.c +++ b/ltt/branches/poly/ltt/event.c @@ -305,15 +305,15 @@ gint ltt_event_position_compare(const LttEventPosition *ep1, gint ltt_event_event_position_compare(const LttEvent *event, const LttEventPosition *ep) { - if(event->tf != ep->tf) + if(event->tracefile != ep->tf) g_error("ltt_event_position_compare on different tracefiles makes no sense"); - if(e->which_block < ep->block_num) + if(event->which_block < ep->block_num) return -1; - if(e->which_block > ep->block_num) + if(event->which_block > ep->block_num) return 1; - if(e->which_event < ep->event_num) + if(event->which_event < ep->event_num) return -1; - if(e->which_event > ep->event_num) + if(event->which_event > ep->event_num) return 1; return 0; }