]> git.itanic.dy.fi Git - log-plotter/commit - main.c
Fix read return value check
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 6 Oct 2013 19:58:07 +0000 (22:58 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 6 Oct 2013 19:58:07 +0000 (22:58 +0300)
commit405e6dcf1dcbfbdcf68ebf21892d4f5a8498dff9
treea6fa8b5487fb7816b1e31f226ac7c1e43c2aebd2
parent3d8040b9815e450cec28cc26aa1d158fb02500ae
Fix read return value check

We wish to check against the return value of read, not the function
pointer..

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
main.c