paranoia about extension

This commit is contained in:
rsc 2006-05-04 19:41:51 +00:00
parent f246629788
commit fdd0f8415f

View file

@ -233,7 +233,7 @@ mainproc(void *v)
sysfatal("error writing Tversion: %r\n"); sysfatal("error writing Tversion: %r\n");
n = read9pmsg(0, vbuf, sizeof vbuf); n = read9pmsg(0, vbuf, sizeof vbuf);
if(n < 0) if(n < 0)
sysfatal("read9pmsg failure"): sysfatal("read9pmsg failure");
if(convM2S(vbuf, n, &f) != n) if(convM2S(vbuf, n, &f) != n)
sysfatal("convM2S failure"); sysfatal("convM2S failure");
if(f.msize < msize) if(f.msize < msize)