mirror of
https://github.com/fluencelabs/redis
synced 2025-05-16 12:31:20 +00:00
sdssplitargs(): on error set *argc to 0.
This makes programs not checking the return value for NULL much safer since with this change: 1) It is still possible to iterate the zero-length result without crashes. 2) sdssplitargs_free will work against NULL and 0 count.
This commit is contained in:
parent
a6f557657c
commit
a70e3ffb16