From fbb38baa489ccd648d05c381d5c94ed948c5a726 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 28 Apr 2024 23:37:39 +0000 Subject: Sun, Apr 28, 2024, 4:37 PM -07:00 --- wk5/pset/speller/dictionary.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wk5/pset') diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index aa707a6..2cd5256 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -3,6 +3,7 @@ #include #include #include +#include #include "dictionary.h" // Represents a node in a hash table @@ -113,7 +114,7 @@ bool unload(void) for (int i = 0; i < N; i++) { // while there's more in the bucket - node *current = table(i); + node *current = table; while (current != NULL) { // record position of this node -- cgit v1.2.3