~martijnbraam/public-inbox

referencing value fix v1 APPLIED

Koby Samuel: 1
 referencing value fix

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/14367/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] referencing value fix Export this patch

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 754b269..4f787b7 100644
--- a/main.c
+++ b/main.c
@@ -703,7 +703,7 @@ not_yet:
			}

			char *endptr = NULL;
			vote = strtol(input[6], &endptr, 10);
			vote = strtol(&input[6], &endptr, 10);
			if (!endptr || endptr[0] != '\0') {
				snprintf(buf, sizeof(buf), "Invalid kick, not an integer\n");
				write(players[pid].fd, buf, strlen(buf));
-- 
2.24.3 (Apple Git-128)
Thanks!

To git@git.sr.ht:~martijnbraam/among-sus
   385bae9..5af8c9a  master -> master