shithub: riscv

Download patch

ref: d1dcdf2df3c69d76b7a6a1b950324ce85942edc3
parent: 6f033761e08ee679ebde18c090ba336967fc30d9
author: cinap_lenrek <cinap_lenrek@localhost>
date: Sat Jul 9 09:11:59 EDT 2011

lib9p: respond with error instead of aborting for unknown 9p messages

--- a/sys/src/lib9p/srv.c
+++ b/sys/src/lib9p/srv.c
@@ -755,8 +755,6 @@
 	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