diff --git a/hdlc_rec.c b/hdlc_rec.c index e71ef9a..407ec4c 100644 --- a/hdlc_rec.c +++ b/hdlc_rec.c @@ -666,7 +666,7 @@ int hdlc_rec_data_detect_any (int chan) text_color_set(DW_COLOR_ERROR); dw_printf ("Error opening %s to check TXINH.\n", stemp); dw_printf ("%s\n", strerror(e)); - return busy; + return (busy != 0); } char vtemp[2];