X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finput%2Fvcd.c;h=f1d0b06cfad9a21add050fdea81ae086e21a24a8;hb=2cb63065f525655d3abccc1b26edd7275937b034;hp=e14215712b75c56477342a4706de8cecee5e0cf1;hpb=c7bc82ffa1b09a228a8395049e2b691cd7bd85f8;p=libsigrok.git diff --git a/src/input/vcd.c b/src/input/vcd.c index e1421571..f1d0b06c 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -503,7 +503,7 @@ static int receive(struct sr_input *in, GString *buf) if (!inc->got_header) { if (!have_header(in->buf)) return SR_OK; - if (!parse_header(in, in->buf) != SR_OK) + if (!parse_header(in, in->buf)) /* There was a header in there, but it was malformed. */ return SR_ERR;