lib9p: respond with error instead of aborting for unknown 9p messages
This commit is contained in:
parent
6f033761e0
commit
d1dcdf2df3
|
@ -755,8 +755,6 @@ respond(Req *r, char *error)
|
||||||
r->error = error;
|
r->error = error;
|
||||||
|
|
||||||
switch(r->ifcall.type){
|
switch(r->ifcall.type){
|
||||||
default:
|
|
||||||
assert(0);
|
|
||||||
/*
|
/*
|
||||||
* Flush is special. If the handler says so, we return
|
* Flush is special. If the handler says so, we return
|
||||||
* without further processing. Respond will be called
|
* without further processing. Respond will be called
|
||||||
|
|
Loading…
Reference in a new issue