OSSP CVS Repository

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

ossp-pkg/cfg/cfg_node.c 1.23 -> 1.24

--- cfg_node.c   2004/12/04 12:48:40     1.23
+++ cfg_node.c   2004/12/19 19:36:25     1.24
@@ -253,7 +253,7 @@
 
     /* dispatch into individual attribute handling */
     va_start(ap, attr);
-    switch (attr) {
+    switch (attr & ~(CFG_ATTR_LOAN|CFG_ATTR_GIFT|CFG_ATTR_COPY)) {
         case CFG_NODE_ATTR_PARENT: {
             cfg_node_t **n = (cfg_node_t **)va_arg(ap, void *);
             if (n == NULL)

CVSTrac 2.0.1