OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/cfg_node.c versions 1.13 and 1.14
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/cfg_node.c 1.13 -> 1.14

--- cfg_node.c   2002/07/18 15:34:55     1.13
+++ cfg_node.c   2002/08/01 11:20:39     1.14
@@ -443,8 +443,9 @@
         fprintf(stderr, "step2: child node 0x%lx\n", (unsigned long)node);
         do {
             if (node->token != NULL) {
+                size_t l;
                 token = node->token;
-                size_t l = strlen(token);
+                l = strlen(token);
                 fprintf(stderr, "step2: child node: \"%s\"\n", token);
                 if (   (l == 1 && l == nSel && token[0] == '*')
                     || (l == nSel && strncmp(token, cpSel, nSel) == 0)) {

CVSTrac 2.0.1