RADCLIENT *c;
char buffer[128];
- rad_assert(identifier);
- rad_assert(secret);
-
c = talloc_zero(ctx, RADCLIENT);
if (fr_pton(&c->ipaddr, identifier, -1, AF_UNSPEC, true) < 0) {
uint8_t indent;
va_list aq;
- rad_assert(request);
-
/*
* Debug messages get treated specially.
*/
{
va_list ap;
- rad_assert(request);
-
if (!request->log.func && !(type & L_DBG)) return;
va_start(ap, msg);
{
va_list ap;
- rad_assert(request);
-
va_start(ap, msg);
if (request->log.func) request->log.func(type, lvl, request, msg, ap);
else if (!(type & L_DBG)) vradlog_request(type, lvl, request, msg, ap);
char const *prefix = "";
uint8_t indent;
- rad_assert(request);
-
if (idx >= sizeof(spaces)) {
size_t offset = (idx - (sizeof(spaces) - 1)) + (sizeof(spaces) * 0.75);
idx -= offset;
{
int ldap_errno;
- rad_assert(inst); /* clang scan */
-
#define do_ldap_global_option(_option, _name, _value) \
if (ldap_set_option(NULL, _option, _value) != LDAP_OPT_SUCCESS) { \
ldap_get_option(NULL, LDAP_OPT_ERROR_NUMBER, &ldap_errno); \