diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 11:16:54 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 11:16:54 +0100 |
commit | 508973808a736a563e54034f86dda39335d629f4 (patch) | |
tree | afc20f617b0c1e238b0f9c95f0057ade9194fa28 | |
parent | f0d3fc0015535e0307f4d7d5dd4dbcdb585163ff (diff) | |
download | uca-net-508973808a736a563e54034f86dda39335d629f4.tar.gz uca-net-508973808a736a563e54034f86dda39335d629f4.tar.bz2 uca-net-508973808a736a563e54034f86dda39335d629f4.tar.xz uca-net-508973808a736a563e54034f86dda39335d629f4.zip |
Fix set property handler
No message type was sent thus corrupting communication.
-rw-r--r-- | ucad.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ static void handle_set_property_request (GSocketConnection *connection, UcaCamera *camera, gpointer message, GError **error) { UcaNetMessageSetPropertyRequest *request; - UcaNetDefaultReply reply; + UcaNetDefaultReply reply = { .type = UCA_NET_MESSAGE_SET_PROPERTY }; GParamSpec *pspec; GValue prop_value = {0}; GValue str_value = {0}; |