]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix low level debug output in xlat_register
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 29 Jan 2018 05:41:57 +0000 (22:41 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 29 Jan 2018 22:33:27 +0000 (15:33 -0700)
src/main/xlat_func.c

index abeb9587446afd330eef423801467ca838895add..0419608f558f6d4b08a44113d7a89035e98111a7 100644 (file)
@@ -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);