diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-07-09 13:11:59 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-07-09 13:11:59 +0200 |
commit | d1dcdf2df3c69d76b7a6a1b950324ce85942edc3 (patch) | |
tree | b19f7691f84cb73179b23528b22467d207c5fbaf /sys/src/lib9p | |
parent | 6f033761e08ee679ebde18c090ba336967fc30d9 (diff) |
lib9p: respond with error instead of aborting for unknown 9p messages
Diffstat (limited to 'sys/src/lib9p')
-rw-r--r-- | sys/src/lib9p/srv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/lib9p/srv.c b/sys/src/lib9p/srv.c index ca0b6a30b..82e2240b4 100644 --- a/sys/src/lib9p/srv.c +++ b/sys/src/lib9p/srv.c @@ -755,8 +755,6 @@ respond(Req *r, char *error) r->error = error; switch(r->ifcall.type){ - default: - assert(0); /* * Flush is special. If the handler says so, we return * without further processing. Respond will be called |