diff runopts.h @ 1642:21dabe66f2c8

fix constness build error
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 Mar 2019 00:21:38 +0800
parents 61a793b6e471
children 76189c9ffea2
line wrap: on
line diff
--- a/runopts.h	Thu Mar 21 00:09:07 2019 +0800
+++ b/runopts.h	Thu Mar 21 00:21:38 2019 +0800
@@ -136,7 +136,7 @@
 
 	char *progname;
 	char *remotehost;
-	char *remoteport;
+	const char *remoteport;
 
 	char *own_user;
 	char *username;