Memory leak/err in notification when closing down

test: restconf notification chunked framing update
This commit is contained in:
Olof hagsand 2022-04-17 13:21:05 +02:00
parent feec3a21d9
commit 600f0616f6
3 changed files with 12 additions and 7 deletions

View file

@ -2003,7 +2003,7 @@ netconf_output(int s,
}
if (write(s, buf, len) < 0){
if (errno == EPIPE)
;
clicon_debug(1, "%s write err SIGPIPE", __FUNCTION__);
else
clicon_log(LOG_ERR, "%s: write: %s", __FUNCTION__, strerror(errno));
goto done;