1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[typo] No NULL. Refs #318

This commit is contained in:
Witold Filipczyk 2024-08-25 12:07:21 +02:00
parent 45486090c6
commit 1a26f492ea

View File

@ -143,7 +143,7 @@ find_in_map(void *m, int offset)
struct el_mapa *mapa = (struct el_mapa *)m;
if (!mapa) {
return;
return NULL;
}
struct el_node_elem key = { .offset = offset, .node = NULL };
struct el_node_elem *item = (struct el_node_elem *)bsearch(&key, mapa->table, mapa->size, sizeof(*item), compare);