Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
i-evi committed Oct 16, 2020
1 parent 988c3aa commit 385ba75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ lsw_t list_rename(struct list *ls, const char *name)
return LSS_MALLOC_ERR;
strcpy(ls->name, name);
} else { /* LIST_SHARED_ */
strcpy((char*)ls + sizeof(struct list), name);
strcpy(ls->name, name);
}
return LSS_SUCCESS;
}
Expand Down

0 comments on commit 385ba75

Please sign in to comment.