All pastes #2448 Raw Edit

libpri

public c v1 · immutable
#2448 ·published 2004-11-29 08:14 UTC
rendered paste body
        if (comp->type) {                switch (comp->type) {                        case ROSE_NAME_PRESENTATION_ALLOWED_SIMPLE:                                memcpy(call->callername, comp->data, comp->len);                                call->callername[comp->len] = 0;                                return 0;                        default:                                pri_message("Do not handle argument of type 0x%X\n", comp->type);                                return -1;                }        } else return -1;