shithub: 9pro

Download patch

ref: 620324cd3f28fe13dc36442aa5763953d44ef898
parent: 074c3a81de2ab536fb7e0d6fd5350d52a0c8fbdc
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Jan 17 15:56:37 EST 2021

9gc: const char

--- a/9gc.c
+++ b/9gc.c
@@ -44,7 +44,7 @@
 static uint64_t chatoff, skipuntil;
 static char *regsrv = "tcp!registry.9gridchan.org!6675";
 static char *chatsrv = "tcp!grid.a-b.xyz!9990";//"tcp!chat.9gridchan.org!9997";
-static char *channel = "chat";
+static const char *channel = "chat";
 
 static uint8_t *
 ctxread(C9ctx *ctx, uint32_t size, int *err)