aboutsummaryrefslogtreecommitdiff
path: root/challenge-014
diff options
context:
space:
mode:
authorPaulo Custodio <pauloscustodio@gmail.com>2023-04-07 18:39:52 +0100
committerPaulo Custodio <pauloscustodio@gmail.com>2023-04-07 18:39:52 +0100
commit08bd7c6a065b0fa11232ca9126f500b9655c6fb7 (patch)
tree4e10d458126664b443db60379766a7e1ee68b0ce /challenge-014
parent9af5ae318325bc085db10520c373749a392ccc3b (diff)
downloadperlweeklychallenge-club-08bd7c6a065b0fa11232ca9126f500b9655c6fb7.tar.gz
perlweeklychallenge-club-08bd7c6a065b0fa11232ca9126f500b9655c6fb7.tar.bz2
perlweeklychallenge-club-08bd7c6a065b0fa11232ca9126f500b9655c6fb7.zip
Add C solution
Diffstat (limited to 'challenge-014')
-rw-r--r--challenge-014/paulo-custodio/c/ch-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-014/paulo-custodio/c/ch-2.c b/challenge-014/paulo-custodio/c/ch-2.c
index 0b70dbabac..250f3d6351 100644
--- a/challenge-014/paulo-custodio/c/ch-2.c
+++ b/challenge-014/paulo-custodio/c/ch-2.c
@@ -86,7 +86,7 @@ struct us_states lut_us_states[] = {
struct us_states* lut_states = NULL;
void build_lookup_table() {
- for (struct us_states* p = lut_us_states; p->key != NULL; p++)
+ for (struct us_states* p = lut_us_states; p->key != NULL; p++)
HASH_ADD_KEYPTR(hh, lut_states, p->key, strlen(p->key), p);
}