diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 15:41:15 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 15:41:15 +0100 |
commit | c4b12a16ef76a2ad4f0b1f839b181b0c047f508f (patch) | |
tree | e6a84fef7b91f3bc53ceae594df087375d3d544d /uca-net-camera.c | |
parent | fe6a84608c7064f2a2fe3542481e0655c6f40812 (diff) | |
download | uca-net-c4b12a16ef76a2ad4f0b1f839b181b0c047f508f.tar.gz uca-net-c4b12a16ef76a2ad4f0b1f839b181b0c047f508f.tar.bz2 uca-net-c4b12a16ef76a2ad4f0b1f839b181b0c047f508f.tar.xz uca-net-c4b12a16ef76a2ad4f0b1f839b181b0c047f508f.zip |
Read entire reply
Diffstat (limited to 'uca-net-camera.c')
-rw-r--r-- | uca-net-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uca-net-camera.c b/uca-net-camera.c index ce0e26b..1194e09 100644 --- a/uca-net-camera.c +++ b/uca-net-camera.c @@ -324,7 +324,7 @@ request_get_property (GSocketConnection *connection, const gchar *name, GValue * return FALSE; /* reply */ - if (g_input_stream_read (input, &reply, sizeof (reply), NULL, error) < 0) + if (!g_input_stream_read_all (input, &reply, sizeof (reply), NULL, NULL, error)) return FALSE; if (reply.type != request.type) { |