0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

fixup! Lib: CBOR message streams and channels

This commit is contained in:
Maria Matejka 2024-10-20 21:13:46 +02:00
parent f8d99852ca
commit 36a206d1d2

View File

@ -332,8 +332,10 @@ static void
cbor_stream_err(sock *sk, int err) cbor_stream_err(sock *sk, int err)
{ {
struct cbor_stream *stream = sk->data; struct cbor_stream *stream = sk->data;
log(L_TRACE "CBOR stream %p error: %d (%M) (errno %m)", if (err)
sk, err, err, strerror(err)); log(L_INFO "CBOR stream %p error: %d (%M)", sk, err, err);
else
log(L_INFO "CBOR stream %p hangup", sk);
stream->cur_rx_channel = NULL; stream->cur_rx_channel = NULL;