@@ 37,7 37,7 @@ packet(Biobuf *out, Packetctx *ctx, int htype, Packet *p, int np, uvlong granule
h[25] = 0;
for(ntot = ip = 0; ip < np; ip++){
- n = 1 + (p[ip].sz > 0 ? p[ip].sz/255 : 0);
+ n = 1 + p[ip].sz/255;
if(27+ntot+n >= nelem(h)){
werrstr("frame is too large");
return -1;