Don't fail with assert() in string functions if both strings are NULL.
commit9e2d1b3ecf70839c8a56c4b720d2d184910b627c
authorTobias Stoeckmann <tobias@openbsd.org>
Sat, 5 May 2012 17:42:42 +0000 (5 19:42 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 7 May 2012 23:47:22 +0000 (7 20:47 -0300)
treed69319b0fb8e344468bd556109754b10235ec630
parent4a4775f076751be19303c04d0c2d13bae56f82c6
Don't fail with assert() in string functions if both strings are NULL.

wstrconcat and wstrappend already support situations in which first OR
second string are NULL, but not if BOTH are NULL.  Fixed that.
WINGs/string.c