diff channel.h @ 1510:eb4c7052f51d coverity

merge coverity up to date
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 11:29:17 +0800
parents 47f36d8565cf
children 79eef94ccea9
line wrap: on
line diff
--- a/channel.h	Sat Feb 10 19:06:13 2018 +0800
+++ b/channel.h	Sat Feb 17 11:29:17 2018 +0800
@@ -94,9 +94,9 @@
 struct ChanType {
 
 	int sepfds; /* Whether this channel has separate pipes for in/out or not */
-	char *name;
+	const char *name;
 	int (*inithandler)(struct Channel*);
-	int (*check_close)(struct Channel*);
+	int (*check_close)(const struct Channel*);
 	void (*reqhandler)(struct Channel*);
 	void (*closehandler)(const struct Channel*);
 };