All pastes #23818 Raw Edit

Something

public text v1 · immutable
#23818 ·published 2005-09-24 23:04 UTC
rendered paste body
 struct aji_user *user;
        struct aji_channel *channel;

        user = (struct aji_user *)malloc(sizeof(struct aji_user));
        if(!user)
                ast_log(LOG_WARNING, "Out of memory\n");
        memset(user,0,sizeof(struct aji_user));
        ASTOBJ_INIT(user);
        ast_copy_string(user->name, label, sizeof(user->name));
        /*memset(user->c,0,sizeof(user->c));
        ASTOBJ_CONTAINER_INIT(user->c);*/