osysmon_ctrl: Use variable name, not ctrl-client name as val->name
diff --git a/osysmon_ctrl.c b/osysmon_ctrl.c
index e14f3bf..b13b13b 100644
--- a/osysmon_ctrl.c
+++ b/osysmon_ctrl.c
@@ -293,7 +293,7 @@
 		}
 		ccgv->last_value = value;
 #else
-		value_node_add(vn_clnt, vn_clnt, cc->cfg.name, value);
+		value_node_add(vn_clnt, vn_clnt, ccgv->cfg.name, value);
 		free(value); /* no talloc, this is from sscanf() */
 #endif
 	}