Fix possible error stack overflow in last commit.

This commit is contained in:
Kris Maglione 2010-06-30 00:58:04 -04:00
parent 9bfa6ce867
commit 6f6bce6a65

View File

@ -492,11 +492,6 @@ fs_write(Ixp9Req *r) {
return;
}
if(waserror()) {
ixp_respond(r, ixp_errbuf());
return;
}
switch(f->tab.type) {
case FsFCtags:
r->ofcall.io.count = r->ifcall.io.count;
@ -506,6 +501,11 @@ fs_write(Ixp9Req *r) {
return;
}
if(waserror()) {
ixp_respond(r, ixp_errbuf());
return;
}
t = &actiontab[f->tab.type];
if(f->tab.type < nelem(actiontab)) {
if(t->msg) {