git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added no_match settings to the radius plugin.
[stg.git]
/
projects
/
rlm_stg
/
stgpair.h
diff --git
a/projects/rlm_stg/stgpair.h
b/projects/rlm_stg/stgpair.h
index dba9e3eb4b5af5c1643337423f54c0392f8a3499..e82c667234ef09194d6efa57087b22dc9db70e5f 100644
(file)
--- a/
projects/rlm_stg/stgpair.h
+++ b/
projects/rlm_stg/stgpair.h
@@
-23,7
+23,7
@@
typedef struct STG_RESULT {
inline
int emptyPair(const STG_PAIR* pair)
{
- return pair
!= NULL && pair->key[0] != '\0' && pair->value[0] !
= '\0';
+ return pair
== NULL || pair->key[0] == '\0' || pair->value[0] =
= '\0';
}
#ifdef __cplusplus