projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28603ba
)
set the length for the NEW attribute, not the OLD one.
author
aland
<aland>
Wed, 11 Oct 2000 15:40:52 +0000
(15:40 +0000)
committer
aland
<aland>
Wed, 11 Oct 2000 15:40:52 +0000
(15:40 +0000)
src/main/valuepair.c
patch
|
blob
|
history
diff --git
a/src/main/valuepair.c
b/src/main/valuepair.c
index
1ce9309
..
120ed8e
100644
(file)
--- a/
src/main/valuepair.c
+++ b/
src/main/valuepair.c
@@
-395,7
+395,7
@@
static int presufcmp(VALUE_PAIR *request, VALUE_PAIR *check,
} else if ((vp = paircreate(PW_STRIPPED_USER_NAME,
PW_TYPE_STRING)) != NULL) {
strcpy(vp->strvalue, rest);
-
request
->length = strlen(rest);
+
vp
->length = strlen(rest);
pairadd(&request, vp);
}
}