make_simple_base_string() takes ownership of the string. Don't use a stack allocated string, but rather, duplicate it on the heap using strndup(). And other fixes.
make_simple_base_string() takes ownership of the string. Don't use a stack
allocated string, but rather, duplicate it on the heap using strndup().
And other fixes.

mcna/usocket