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

This commit is contained in:
Michael Tuexen
2018-01-17 10:30:49 +00:00
parent f7b509a109
commit b8ff144e19
+1
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);