projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82f5c9
)
Better way of updating cf_data_add
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Sep 2010 11:03:56 +0000
(13:03 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Sep 2010 12:46:55 +0000
(14:46 +0200)
src/main/realms.c
patch
|
blob
|
history
diff --git
a/src/main/realms.c
b/src/main/realms.c
index
208f2e9
..
7abf7f0
100644
(file)
--- a/
src/main/realms.c
+++ b/
src/main/realms.c
@@
-387,6
+387,10
@@
static CONF_PARSER home_server_config[] = {
};
+static void null_free(UNUSED void *data)
+{
+}
+
static int home_server_add(realm_config_t *rc, CONF_SECTION *cs, int pool_type)
{
const char *name2;
@@
-786,7
+790,7
@@
static int home_server_add(realm_config_t *rc, CONF_SECTION *cs, int pool_type)
/*
* Mark it as already processed
*/
- cf_data_add(cs, "home_server",
"added", NULL
);
+ cf_data_add(cs, "home_server",
null_free, null_free
);
return 1;
}