Removed perror that shouldn't be there.
Removed unnecassary lines.
Removed unnecassary sizeof.
Made sure that \0 is at the end of string if array is NULL in s_init().
Reworked part of s_init() to make more sense
Simplyfied s_init().