shithub: drawterm

Download patch

ref: 162ce8d8bbdef0f34ac7f579065f1ea8409218b5
parent: 63e826c1a177368305ce9e89c0b7bc3b13e158d5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Feb 24 18:30:51 EST 2016

devip: dont need to set cv->owner, its a static buffer

--- a/kern/devip.c	Wed Feb 24 18:04:29 2016
+++ b/kern/devip.c	Wed Feb 24 18:30:51 2016
@@ -87,8 +87,6 @@
 	char *p;
 
 	cv = proto[PROTO(c->qid)].conv[CONV(c->qid)];
-	if(cv->owner == nil)
-		strcpy(cv->owner, eve);
 	mkqid(&q, QID(PROTO(c->qid), CONV(c->qid), i), 0, QTFILE);
 
 	switch(i) {