projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8305a1
)
moved #if 0 / #endif, so that the useful code gets executed.
author
aland
<aland>
Tue, 10 Apr 2001 13:56:32 +0000
(13:56 +0000)
committer
aland
<aland>
Tue, 10 Apr 2001 13:56:32 +0000
(13:56 +0000)
src/modules/rlm_sql/rlm_sql.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_sql/rlm_sql.c
b/src/modules/rlm_sql/rlm_sql.c
index
b8dddd2
..
fcb2379
100644
(file)
--- a/
src/modules/rlm_sql/rlm_sql.c
+++ b/
src/modules/rlm_sql/rlm_sql.c
@@
-270,11
+270,11
@@
static int rlm_sql_authorize(void *instance, REQUEST * request) {
#if 0 /* FIXME: this is the *real* authorizing */
vp_printlist(stderr, check_tmp);
+#endif
if (paircmp(request->packet->vps, check_tmp, &reply_tmp) != 0) {
radlog(L_INFO, "rlm_sql: Pairs do not match [%s]", sqlusername);
return RLM_MODULE_NOTFOUND;
}
-#endif
pairmove(&request->reply->vps, &reply_tmp);
pairmove(&request->config_items, &check_tmp);