diff options
author | Test_User <hax@andrewyu.org> | 2024-06-15 07:37:23 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-15 07:37:23 -0400 |
commit | ab2a2ab740e8f54254540f2a24eed9de8d878f5c (patch) | |
tree | b5c65ddcca901ee58f9d99e9ee826c5152babaf8 /table.c | |
parent | 1238295ee3aaf63858ebb537020e84fefc1d1e63 (diff) | |
download | haxircd-ab2a2ab740e8f54254540f2a24eed9de8d878f5c.tar.gz haxircd-ab2a2ab740e8f54254540f2a24eed9de8d878f5c.zip |
More stuff
Diffstat (limited to '')
-rw-r--r-- | table.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -185,4 +185,6 @@ void * get_table_prefix(struct table tbl, struct string name) { for (size_t i = 0; i < tbl.len; i++) if (tbl.array[i].name.len <= name.len && memcmp(tbl.array[i].name.data, name.data, tbl.array[i].name.len) == 0) return tbl.array[i].ptr; + + return 0; } |