Same comment about passing a string pointer to this handler() function. It looks sketchy and isn't needed. Should dereference in the caller instead.