summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 14:46:37 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 15:30:56 -0200
commit25a9e1d886054d3907fb43e3682525b1a3901209 (patch)
tree1b231755171bb24e4353183a907cf242deab9c23 /src/bin/efl
parent6f9deb976a9774a14636cb3131743245347b2dd4 (diff)
Efl.Io.{Queue,Buffer,Buffered_Stream}: slice_get is now a property.
Previously we couldn't return a slice, instead required the user to pass a slice and we'd fill it since Eolian couldn't generate fallbacks for structures. Since @q66 fixed eolian, we can now return the structure itself as initially wanted, ditching some TODO from the code.
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debug_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/efl/efl_debug_common.c b/src/bin/efl/efl_debug_common.c
index 28e44c2497..f37f17f16b 100644
--- a/src/bin/efl/efl_debug_common.c
+++ b/src/bin/efl/efl_debug_common.c
@@ -24,9 +24,7 @@ received_data(Eo *sock, void (*handle)(void *data, const char op[static 4], cons
24 Eina_Slice slice, payload; 24 Eina_Slice slice, payload;
25 Efl_Debug_Message_Header msgheader; 25 Efl_Debug_Message_Header msgheader;
26 26
27 if (!efl_io_buffered_stream_slice_get(sock, &slice)) 27 slice = efl_io_buffered_stream_slice_get(sock);
28 return EINA_TRUE;
29
30 if (slice.len < sizeof(msgheader)) 28 if (slice.len < sizeof(msgheader))
31 return EINA_TRUE; 29 return EINA_TRUE;
32 30