Skip to content

Commit a27fab3

Browse files
authored
Merge pull request #2791 from havardAasen/havardAasen-patch-1
revert changes for strncat()
2 parents 18f0295 + 86271ce commit a27fab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emc/rs274ngc/interp_remap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ int Interp::add_parameters(setup_pointer settings,
294294
while (*s) {
295295
errored = true;
296296
char c = toupper(*s);
297-
strncat(tail,&c,2);
297+
strncat(tail,&c,1);
298298
if (*(s+1)) rtapi_strxcat(tail,",");
299299
s++;
300300
}

0 commit comments

Comments
 (0)