mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
fixup! Lib: CBOR message streams and channels
This commit is contained in:
parent
f8d99852ca
commit
36a206d1d2
@ -332,8 +332,10 @@ static void
|
||||
cbor_stream_err(sock *sk, int err)
|
||||
{
|
||||
struct cbor_stream *stream = sk->data;
|
||||
log(L_TRACE "CBOR stream %p error: %d (%M) (errno %m)",
|
||||
sk, err, err, strerror(err));
|
||||
if (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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user