From 9f5e48f2bbbc67f67ab4ef28c774311cce008771 Mon Sep 17 00:00:00 2001 From: mcpcpc Date: Mon, 31 Aug 2020 09:13:17 -0400 Subject: [PATCH] bump version, increase msg buffer size --- kirc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kirc.c b/kirc.c index 86ab8043..29a9b252 100644 --- a/kirc.c +++ b/kirc.c @@ -146,7 +146,7 @@ parser(char *in) { int len; char ltr[200], cha[IRC_CHAN_MAX] = {0}, nic[200] = {0}, hos[200], \ - usr[200] = {0}, cmd[200] = {0}, msg[200] = {0}, pre[200] = {0}; + usr[200] = {0}, cmd[200] = {0}, msg[IRC_MSG_MAX] = {0}, pre[200] = {0}; if (verb) printf(">> %s\n", in); if (!strncmp(in, "PING", 4)) { @@ -176,7 +176,7 @@ main(int argc, char **argv) { while ((cval = getopt(argc, argv, "s:p:o:n:k:c:u:r:w:W:vV")) != -1) { switch (cval) { - case 'v' : puts("kirc 0.0.4"); return 0; + case 'v' : puts("kirc 0.0.5"); return 0; case 'V' : verb = 1; break; case 's' : host = optarg; break; case 'w' : gutl = atoi(optarg); break;