mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
Fix possible error stack overflow in last commit.
This commit is contained in:
parent
9bfa6ce867
commit
6f6bce6a65
@ -492,13 +492,8 @@ fs_write(Ixp9Req *r) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(waserror()) {
|
||||
ixp_respond(r, ixp_errbuf());
|
||||
return;
|
||||
}
|
||||
|
||||
switch(f->tab.type) {
|
||||
case FsFCtags:
|
||||
case FsFCtags:
|
||||
r->ofcall.io.count = r->ifcall.io.count;
|
||||
ixp_srv_data2cstring(r);
|
||||
client_applytags(f->p.client, r->ifcall.io.data);
|
||||
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user