diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-06-19 10:10:20 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-06-19 10:10:20 +0200 |
commit | 1d43a09135be31a2d68afa8e50a665c333ecb084 (patch) | |
tree | 4a23a2396e43491e56f629c80d4d10bf053ea97a /ucad.c | |
parent | 6e4c572d74f868e73b40a44fe0821153a34e5ea0 (diff) | |
download | uca-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |