*/
static inline void CC_HINT(nonnull) fr_bio_chain(fr_bio_t *first, fr_bio_t *second)
{
- fr_dlist_entry_link_after(&first->entry, &second->entry);
+ fr_assert(first->entry.prev == NULL);
+ fr_assert(first->entry.next == NULL);
+
+ fr_assert(second->entry.prev == NULL);
+
+ first->entry.next = &second->entry;
+ second->entry.prev = &first->entry;
}
/** Remove a bio from a chain
socklen_t sunlen;
struct sockaddr_un sun;
- p = strrchr(my->info.socket.unix.path, '/');
+ p = strrchr(cfg->path, '/');
/*
* The UID and GID should be taken automatically from the "user" and "group" settings in