SBLASTRECORDCHK(sb, "sbappendrecord 2");
sbappendrecord(sb, m0)	register struct sockbuf *sb;	register struct mbuf *m0;{	register struct mbuf *m;	if (m0 == 0)		return;	if ((m = sb->sb_mb) != NULL)		while (m->m_nextpkt)			m = m->m_nextpkt;	/*	 * Put the first mbuf on the queue.	 * Note this permits zero length records.	 */	sballoc(sb, m0);	if (m)		m->m_nextpkt = m0;	else		sb->sb_mb = m0;	m = m0->m_next;	m0->m_next = 0;	if (m && (m0->m_flags & M_EOR)) {		m0->m_flags &= ~M_EOR;		m->m_flags |= M_EOR;	}	sbcompress(sb, m, m0);}