mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +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)
|
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user