summaryrefslogtreecommitdiff
path: root/src/bin/eeze
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/eeze
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/eeze')
-rw-r--r--src/bin/eeze/eeze_scanner_monitor.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/eeze/eeze_scanner_monitor.c b/src/bin/eeze/eeze_scanner_monitor.c
index afed23c974..fd01d2c2d3 100644
--- a/src/bin/eeze/eeze_scanner_monitor.c
+++ b/src/bin/eeze/eeze_scanner_monitor.c
@@ -70,11 +70,7 @@ _on_data(void *data, const Efl_Event *event)
70 Eo *dialer = event->object; 70 Eo *dialer = event->object;
71 Eina_Slice slice; 71 Eina_Slice slice;
72 72
73 if (!efl_io_buffered_stream_slice_get(dialer, &slice)) 73 slice = efl_io_buffered_stream_slice_get(dialer);
74 {
75 fprintf(stderr, "ERROR: could not get buffered stream slice\n");
76 goto error;
77 }
78 if (slice.len == 0) return; 74 if (slice.len == 0) return;
79 75
80 if (eet_connection_received(ec, slice.mem, slice.len) != 0) 76 if (eet_connection_received(ec, slice.mem, slice.len) != 0)