git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor fix.
[stg.git]
/
stglibs
/
srvconf.lib
/
parser.cpp
diff --git
a/stglibs/srvconf.lib/parser.cpp
b/stglibs/srvconf.lib/parser.cpp
index 625373594e0b86b12fb1bf92632e396ae19171a9..284e1127e5f83da67bb6f04de36f92bd6a6f34f3 100644
(file)
--- a/
stglibs/srvconf.lib/parser.cpp
+++ b/
stglibs/srvconf.lib/parser.cpp
@@
-848,8
+848,8
@@
else
{
if (strcasecmp(el, "Auth") == 0)
{
- if (attr && attr[0])
- list.push_back(attr[
0
]);
+ if (attr && attr[0]
&& attr[1]
)
+ list.push_back(attr[
1
]);
return 0;
}
}