The comparison was done with strcmp but it was expected to return true on success when in reality it returns 0 on success.
auto