parent
7a0503626b
commit
6107d297ac
|
|
@ -106,7 +106,7 @@ noexist:
|
|||
p = malloc(sizeof(*p));
|
||||
if (p) {
|
||||
memset(p, 0, sizeof(*p));
|
||||
strncpy(p->id, str, 15);
|
||||
strncpy(p->id, str, sizeof(p->id)-1);
|
||||
p->parse_peopt = pedit_parse_nopopt;
|
||||
goto reg;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue