Skip to content
Snippets Groups Projects
Commit fe32df77 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix error in optmap creation

parent e228b36c
No related branches found
No related tags found
No related merge requests found
Pipeline #7272 passed
......@@ -1451,8 +1451,8 @@ edit_list(struct bbslist **list, struct bbslist *item, char *listpath, int isdef
if (i >= 0) {
if (optmap[i] == BBSLIST_FIELD_NONE)
continue;
i = optmap[i];
strcpy(optname, opt[i]);
i = optmap[i];
for (tmpptr = optname; *tmpptr; tmpptr++) {
if (tmpptr[0] == 0)
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment