diff options
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 | ||