Lines 528-536
void cache_entry_set1(CacheEntry *entry, const char *key, const char *value) {
|
Link Here
|
---|
|
528 |
attr->values[0] = strdup(value); |
528 |
attr->values[0] = strdup(value); |
529 |
assert(attr->values[0]); |
529 |
assert(attr->values[0]); |
530 |
attr->length[0] = strlen(value) + 1; |
530 |
attr->length[0] = strlen(value) + 1; |
531 |
break; |
531 |
return; |
532 |
} |
532 |
} |
533 |
assert(i < entry->attribute_count); |
533 |
cache_entry_add1(entry, key, value); |
534 |
} |
534 |
} |
535 |
|
535 |
|
536 |
static CacheEntryAttribute *_cache_entry_find_attribute(CacheEntry *entry, LDAPAVA *ava) { |
536 |
static CacheEntryAttribute *_cache_entry_find_attribute(CacheEntry *entry, LDAPAVA *ava) { |
537 |
- |
|
|