mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
paranoia about extension
This commit is contained in:
parent
f246629788
commit
fdd0f8415f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue