fixed tests after updates

This commit is contained in:
Olof hagsand 2021-02-10 20:48:57 +01:00
parent 6b08a22f04
commit 72dd31395e
6 changed files with 16 additions and 7 deletions

View file

@ -371,7 +371,8 @@ netconf_input_cb(int s,
if ((ptr = clicon_hash_value(cdat, NETCONF_HASH_BUF, &cdatlen)) != NULL){
if (cdatlen != sizeof(cb)){
clicon_err(OE_XML, errno, "size mismatch %lu %lu", cdatlen, sizeof(cb));
clicon_err(OE_XML, errno, "size mismatch %lu %lu",
(unsigned long)cdatlen, (unsigned long)sizeof(cb));
goto done;
}
cb = *(cbuf**)ptr;