commit 51dc5aad0fabaa35df27bc5b112d21bc470cc212 parent 35ce3d1ecb26f7fb76858f015312b69cb9817bfb Author: default <nobody@localhost> Date: Tue, 4 Feb 2025 13:37:47 +0100 Fixed crash. Diffstat:
M | xs_url.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xs_url.h b/xs_url.h @@ -69,7 +69,7 @@ xs_dict *xs_url_vars(const char *str) vars = xs_dict_new(); - if (str != NULL) { + if (xs_is_string(str)) { /* split by arguments */ xs *args = xs_split(str, "&");