mirror of https://github.com/asterisk/asterisk
Given the scenario of passing an empty string to the
ast_strsep functions the functions would return NULL
instead of an empty string. This is counter to how
strsep itself works.
This change alters the behavior of the functions to
match that of strsep.
Fixes: #565
(cherry picked from commit 167d393c0f
)
pull/886/head
parent
ec69680801
commit
ba68bb9221
Loading…
Reference in new issue