From 6d583b97e1121b030e168eb4e989e7c4731c0d51 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 26 Jun 2024 05:00:30 +0100 Subject: [PATCH] remove MAX_LABEL_LEN, use MAX_LINE only --- src/vmrcli.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vmrcli.c b/src/vmrcli.c index e191256..edfb5fd 100644 --- a/src/vmrcli.c +++ b/src/vmrcli.c @@ -5,8 +5,7 @@ #include "cdll.h" #include "vmr.h" -#define MAX_LINE 1024 -#define MAX_LABEL_LEN 512 +#define MAX_LINE 512 enum { @@ -20,7 +19,7 @@ struct result union val { float f; - char s[MAX_LABEL_LEN]; + char s[MAX_LINE]; } val; };