version 1.73, 2020/06/18 05:11:13 |
version 1.74, 2020/06/28 05:17:25 |
|
|
break; |
break; |
case CTL_VEC: |
case CTL_VEC: |
case CTL_LIST: |
case CTL_LIST: |
|
case CTL_SEL: |
ctl_node_log(&c->node1); |
ctl_node_log(&c->node1); |
log_puts(":"); |
log_puts(":"); |
log_putu(c->curval); |
log_putu(c->curval); |
|
|
strlcpy(c->group, gstr, CTL_NAMEMAX); |
strlcpy(c->group, gstr, CTL_NAMEMAX); |
strlcpy(c->node0.name, str0, CTL_NAMEMAX); |
strlcpy(c->node0.name, str0, CTL_NAMEMAX); |
c->node0.unit = unit0; |
c->node0.unit = unit0; |
if (c->type == CTL_VEC || c->type == CTL_LIST) { |
if (c->type == CTL_VEC || c->type == CTL_LIST || c->type == CTL_SEL) { |
strlcpy(c->node1.name, str1, CTL_NAMEMAX); |
strlcpy(c->node1.name, str1, CTL_NAMEMAX); |
c->node1.unit = unit1; |
c->node1.unit = unit1; |
} else |
} else |