mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2024-11-15 17:40:56 +00:00
remove MAX_LABEL_LEN, use MAX_LINE only
This commit is contained in:
parent
529fb413f1
commit
6d583b97e1
@ -5,8 +5,7 @@
|
|||||||
#include "cdll.h"
|
#include "cdll.h"
|
||||||
#include "vmr.h"
|
#include "vmr.h"
|
||||||
|
|
||||||
#define MAX_LINE 1024
|
#define MAX_LINE 512
|
||||||
#define MAX_LABEL_LEN 512
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -20,7 +19,7 @@ struct result
|
|||||||
union val
|
union val
|
||||||
{
|
{
|
||||||
float f;
|
float f;
|
||||||
char s[MAX_LABEL_LEN];
|
char s[MAX_LINE];
|
||||||
} val;
|
} val;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user