shithub: mq

Download patch

ref: c4febd15954649879cb43c24562abd2333d9c6fb
parent: 4976171e9ced7da1e2fea721e379f31daedbaf47
author: kvik <kvik@a-b.xyz>
date: Fri Sep 11 09:49:25 EDT 2020

mq: refactoring leftovers

--- a/src/mq.c
+++ b/src/mq.c
@@ -216,7 +216,7 @@
 }
 
 void
-pipewrite(Req *r)
+streamwrite(Req *r)
 {
 	File *f = r->fid->file;
 	Stream *s = f->aux;
@@ -383,7 +383,7 @@
 
 	switch(filetype(f)){
 	case Qstream:
-		pipewrite(r);
+		streamwrite(r);
 		break;
 	case Qctl:
 		ctlwrite(r);