use streq instead of strcmp