From: Arran Cudbard-Bell Date: Mon, 29 Jan 2018 05:41:57 +0000 (-0700) Subject: Fix low level debug output in xlat_register X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24951e6ecaf7871aea86c617ddcd193be538f2ba;p=thirdparty%2Ffreeradius-server.git Fix low level debug output in xlat_register --- diff --git a/src/main/xlat_func.c b/src/main/xlat_func.c index abeb9587446..0419608f558 100644 --- a/src/main/xlat_func.c +++ b/src/main/xlat_func.c @@ -683,7 +683,7 @@ int xlat_register(void *mod_inst, char const *name, c->inst_size = inst_size; c->async_safe = async_safe; - DEBUG3("%s: %s", c->name, __FUNCTION__); + DEBUG3("%s: %s", __FUNCTION__, c->name); if (new && !rbtree_insert(xlat_root, c)) { ERROR("Failed inserting xlat registration for %s", @@ -783,7 +783,7 @@ int xlat_async_register(TALLOC_CTX *ctx, c->async_safe = false; /* async safe in this case means it might yield */ c->uctx = uctx; - DEBUG3("%s: %s", c->name, __FUNCTION__); + DEBUG3("%s: %s", __FUNCTION__, c->name); if (new && !rbtree_insert(xlat_root, c)) { ERROR("%s: Failed inserting xlat registration for %s", __FUNCTION__, c->name);