From 1d43a09135be31a2d68afa8e50a665c333ecb084 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 19 Jun 2018 10:10:20 +0200 Subject: Fix #10: transmit enum value nick names --- ucad.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ucad.c') diff --git a/ucad.c b/ucad.c index 6545b23..e56ee42 100644 --- a/ucad.c +++ b/ucad.c @@ -141,6 +141,9 @@ serialize_param_spec (GParamSpec *pspec, UcaNetMessageProperty *prop) strncpy (prop->spec.genum.value_names[i], enum_class->values[i].value_name, UCA_NET_MAX_ENUM_NAME_LENGTH); + + strncpy (prop->spec.genum.value_nicks[i], enum_class->values[i].value_nick, + UCA_NET_MAX_ENUM_NAME_LENGTH); } return; -- cgit v1.2.3