git: 9front

Download patch

ref: fe5b48a5b45af2b4a4351d369df01bbeec29df23
parent: 9b5ea73854b2cc2aa3f341edfefd1305da0efe30
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
--