projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b80389
)
* Remove the closing brace if the attribute is not found. Only
author
hartwick
<hartwick>
Mon, 26 Mar 2001 15:42:38 +0000
(15:42 +0000)
committer
hartwick
<hartwick>
Mon, 26 Mar 2001 15:42:38 +0000
(15:42 +0000)
remove the innermost brace.
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
a2b1195
..
efcea68
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-138,7
+138,7
@@
static void decode_attribute(const char **from, char **to, int freespace, int *o
/*
* Skip to last '}' if attr is found
* The rest of the stuff within the braces is
- * useless if we found w
e
we need
+ * useless if we found w
hat
we need
*/
if(found) {
while((*p != '\0') && (openbraces > 0)) {
@@
-148,7
+148,8
@@
static void decode_attribute(const char **from, char **to, int freespace, int *o
p++;
}
} else {
- p--;
+ openbraces--;
+ /* p--; */
}
*open = openbraces;