diff options
| author | 2025-02-04 13:37:47 +0100 | |
|---|---|---|
| committer | 2025-02-04 13:37:55 +0100 | |
| commit | 51dc5aad0fabaa35df27bc5b112d21bc470cc212 (patch) | |
| tree | 7d4fe9e677fabde9ffd4362b2480a758594058eb /xs_url.h | |
| parent | Updated documentation. (diff) | |
| download | penes-snac2-51dc5aad0fabaa35df27bc5b112d21bc470cc212.tar.gz penes-snac2-51dc5aad0fabaa35df27bc5b112d21bc470cc212.tar.xz penes-snac2-51dc5aad0fabaa35df27bc5b112d21bc470cc212.zip | |
Fixed crash.
Diffstat (limited to 'xs_url.h')
| -rw-r--r-- | xs_url.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -69,7 +69,7 @@ xs_dict *xs_url_vars(const char *str) | |||
| 69 | 69 | ||
| 70 | vars = xs_dict_new(); | 70 | vars = xs_dict_new(); |
| 71 | 71 | ||
| 72 | if (str != NULL) { | 72 | if (xs_is_string(str)) { |
| 73 | /* split by arguments */ | 73 | /* split by arguments */ |
| 74 | xs *args = xs_split(str, "&"); | 74 | xs *args = xs_split(str, "&"); |
| 75 | 75 | ||