mirror of git://git.sysmocom.de/ofono
hdlc: Stop recording packets to stdout (fd = 0)
This commit is contained in:
parent
aca0fdf87f
commit
295270b4be
|
@ -221,11 +221,11 @@ GAtHDLC *g_at_hdlc_new_from_io(GAtIO *io)
|
|||
if (!hdlc->decode_buffer)
|
||||
goto error;
|
||||
|
||||
hdlc->record_fd = -1;
|
||||
|
||||
hdlc->io = g_at_io_ref(io);
|
||||
g_at_io_set_read_handler(hdlc->io, new_bytes, hdlc);
|
||||
|
||||
hdlc->record_fd = -1;
|
||||
|
||||
return hdlc;
|
||||
|
||||
error:
|
||||
|
|
Loading…
Reference in New Issue