Skip to content

Commit

Permalink
Increased the buffer so it is the same as the input buffer in size.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpersson committed Feb 2, 2024
1 parent def3ab2 commit 4dbf8b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/mad_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,8 @@ void exec_add_expression(struct in_cmd* cmd){
char* expchar = command_par_string_user("expr", cmd->clone);
//const char whitespace[] = " \f\n\r\t\v";
struct variable* var;
char in_string_tmp[100];
char tmp_var_expr[50
];
char in_string_tmp[MAX_LINE];
char tmp_var_expr[MAX_LINE];

if (expchar==NULL){
warning("Need to add an expression for: ", varname);
Expand Down

0 comments on commit 4dbf8b5

Please sign in to comment.