Add missing assignment to make sure non-first cmsgs are handled as such.

This commit is contained in:
tuexen 2018-01-17 10:30:49 +00:00
parent 687a4fd55c
commit 73677d4c35

View File

@ -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);