Skip to content

Commit

Permalink
gssmask: Fix wrong sizeof() expression
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Jan 4, 2023
1 parent d2bc2a4 commit cc631eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appl/gssmask/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ add_list(char ****list, size_t *listlen, char **str, size_t len)
size_t i;
*list = erealloc(*list, sizeof(**list) * (*listlen + 1));

(*list)[*listlen] = ecalloc(len, sizeof(**list));
(*list)[*listlen] = ecalloc(len, sizeof(***list));
for (i = 0; i < len; i++)
(*list)[*listlen][i] = str[i];
(*listlen)++;
Expand Down

0 comments on commit cc631eb

Please sign in to comment.