summaryrefslogtreecommitdiffstats
path: root/ucad.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-06-19 10:10:20 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-06-19 10:10:20 +0200
commit1d43a09135be31a2d68afa8e50a665c333ecb084 (patch)
tree4a23a2396e43491e56f629c80d4d10bf053ea97a /ucad.c
parent6e4c572d74f868e73b40a44fe0821153a34e5ea0 (diff)
downloaduca-net-1d43a09135be31a2d68afa8e50a665c333ecb084.tar.gz
uca-net-1d43a09135be31a2d68afa8e50a665c333ecb084.tar.bz2
uca-net-1d43a09135be31a2d68afa8e50a665c333ecb084.tar.xz
uca-net-1d43a09135be31a2d68afa8e50a665c333ecb084.zip
Fix #10: transmit enum value nick names
Diffstat (limited to 'ucad.c')
-rw-r--r--ucad.c3
1 files changed, 3 insertions, 0 deletions
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;