summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:10:23 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:10:23 +0000
commita9e28b785462a22e269a3375bc4de2468f6dee8c (patch)
tree26400050b01fe51bfe59f50a5ad521792a5a5f61 /wk5/pset/speller/dictionary.c
parent12c1b5810fac956a374ce4a20362187f48bd7ef1 (diff)
Sun, Apr 28, 2024, 3:10 PM -07:00
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r--wk5/pset/speller/dictionary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index a6c4d34..c3111ea 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -54,7 +54,7 @@ bool load(const char *dictionary)
char word[LENGTH + 1];
while(fscanf(source, "%s", word) != "E0F")
{
- malloc
+ malloc(sizefo(node));
}
/*