From 508973808a736a563e54034f86dda39335d629f4 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 18 Feb 2016 11:16:54 +0100 Subject: Fix set property handler No message type was sent thus corrupting communication. --- ucad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucad.c b/ucad.c index 4ca35b0..649ef28 100644 --- a/ucad.c +++ b/ucad.c @@ -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}; -- cgit v1.2.1