]> git.stg.codes - stg.git/commitdiff
Small fix.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 26 Jul 2013 17:54:38 +0000 (20:54 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 26 Jul 2013 17:54:38 +0000 (20:54 +0300)
stglibs/srvconf.lib/parser.cpp
stglibs/srvconf.lib/servconf.cpp

index 625373594e0b86b12fb1bf92632e396ae19171a9..284e1127e5f83da67bb6f04de36f92bd6a6f34f3 100644 (file)
@@ -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;
             }
         }
index 078466d7b7953076b59870c59db4dd0b64945f0b..0ca3028c9e881209cf4d881696c6aedc0ae9a41e 100644 (file)
@@ -379,7 +379,6 @@ return st_ok;
 //-----------------------------------------------------------------------------
 int SERVCONF::Start(const char *el, const char **attr)
 {
-printfd(__FILE__, "<%s>\n", el);
 currParser->ParseStart(el, attr);
 return 0;
 }