projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf5619
)
convert assertion to run-time check.
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 11 May 2017 13:59:14 +0000
(09:59 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 11 May 2017 13:59:14 +0000
(09:59 -0400)
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
3fec469
..
59fb6b9
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-1810,7
+1810,7
@@
static ssize_t xlat_tokenize_request(REQUEST *request, char const *fmt, xlat_exp
if (slen < 0) {
talloc_free(tokens);
-
rad_assert(error != NULL)
;
+
if (!error) error = "Unknown error"
;
REMARKER(fmt, -slen, error);
return slen;