projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b2361
)
cf_pair_replace returns -1 on error
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sun, 1 Feb 2015 13:55:11 +0000
(20:55 +0700)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sun, 1 Feb 2015 13:56:35 +0000
(20:56 +0700)
src/main/unittest.c
patch
|
blob
|
history
diff --git
a/src/main/unittest.c
b/src/main/unittest.c
index
008b872
..
d2ae6bd
100644
(file)
--- a/
src/main/unittest.c
+++ b/
src/main/unittest.c
@@
-470,7
+470,7
@@
static ssize_t xlat_poke(UNUSED void *instance, REQUEST *request,
goto fail;
}
- if (
!cf_pair_replace(mi->cs, cp, q)
) {
+ if (
cf_pair_replace(mi->cs, cp, q) < 0
) {
RDEBUG("Failed replacing pair");
goto fail;
}