projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b339a27
)
Compare character to zero, not to NULL
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 10 Dec 2012 22:02:32 +0000
(17:02 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 10 Dec 2012 22:02:51 +0000
(17:02 -0500)
src/main/conffile.c
patch
|
blob
|
history
diff --git
a/src/main/conffile.c
b/src/main/conffile.c
index
219d95a
..
c82c2f6
100644
(file)
--- a/
src/main/conffile.c
+++ b/
src/main/conffile.c
@@
-623,7
+623,7
@@
CONF_ITEM *cf_reference_item(const CONF_SECTION *parentcs,
/*
* Just '.' means the current section
*/
- if (*p ==
NULL
) {
+ if (*p ==
'\0'
) {
return cf_sectiontoitem(cs);
}