Add missing assignment to make sure non-first cmsgs are handled as such.
This commit is contained in:
parent
687a4fd55c
commit
73677d4c35
@ -1531,6 +1531,7 @@ print_cmsgs(FILE *fp, pid_t pid, bool receive, struct msghdr *msghdr)
|
||||
break;
|
||||
}
|
||||
fputs("}", fp);
|
||||
first = false;
|
||||
}
|
||||
fputs("}", fp);
|
||||
free(cmsgbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user