Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[tcpcrypt-dev] [PATCH] constify _bind_ip

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jul 23 06:51:02 PDT 2014


---
 user/util/tcs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/user/util/tcs.c b/user/util/tcs.c
index b622f26..34fe6b7 100644
--- a/user/util/tcs.c
+++ b/user/util/tcs.c
@@ -11,7 +11,7 @@
 #include "src/tcpcrypt_ctl.h"
 #include "src/tcpcrypt_strings.h"
 
-static char *_bind_ip = "0.0.0.0";
+static const char *_bind_ip = "0.0.0.0";
 
 enum {
 	TYPE_CLIENT = 0,
@@ -375,7 +375,7 @@ static void pwn(void)
 		check_sockets();
 }
 
-int main(int argc, char *argv[])
+int main(int argc, const char *argv[])
 {
 	if (argc > 1) {
 		_bind_ip = argv[1];
-- 
2.0.1



More information about the tcpcrypt-dev mailing list