Test: restconf CN variable, strip curl newline

Fixed a few compile warnings
This commit is contained in:
Olof hagsand 2022-05-11 09:20:40 +02:00
parent c27ecf0923
commit 7065d6f760
5 changed files with 10 additions and 6 deletions

View file

@ -2085,7 +2085,7 @@ netconf_input_chunked_framing(char ch,
{
int retval = 0;
clicon_debug(1, "%s ch:%c(%d) state:%d size:%lu", __FUNCTION__, ch, ch, *state, *size);
clicon_debug(1, "%s ch:%c(%d) state:%d size:%zu", __FUNCTION__, ch, ch, *state, *size);
switch (*state){
case 0:
if (ch == '\n'){