int create_user(const char *name, User **user_ptr_add) {
    if (strlen(name) > 31){
        return 2;
    }

    int i = 0;
    while (user_ptr_add[i] != NULL){
        if (*user_ptr_add[i].name == &name){
            return 1;
        }
        i++;
    }

    struct user new_user;
    strcpy(new_user.name, *name);
    user_ptr_add[i] = new_user;

    return 0;
}
how do i fix the compare on line 8