commit b2c533c64ecedf4a3c8ea8e831902079595bf2cc
parent c5a3727d84aad1043e624183e947466f5121ba9f
Author: deurzen <m.deurzen@tum.de>
Date: Sat, 28 Nov 2020 15:05:51 +0100
fixes client argument reading bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rkctl/rkctl.h b/src/rkctl/rkctl.h
@@ -1,7 +1,7 @@
#ifndef _GROUP7_RKCTL_H
#define _GROUP7_RKCTL_H
-#define ARGVCMP(i, x) (!strncmp(argv[i], (x), strlen(x)))
+#define ARGVCMP(i, x) (!strcmp(argv[i], (x)))
#define ASSERT_ARGC(x, msg) \
do { \
if (argc <= x) { \