diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-02-24 15:54:01 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-02-24 15:54:01 +0100 |
commit | e8f642a14a5f56f9dc842ef131f33c30c52171d3 (patch) | |
tree | 89afbe7e7f61b50fd1577da568f18f94fbd613d0 | |
parent | c97e7854a28a27a4f7fba19f42957bfbbc28abcd (diff) | |
download | external_libsamsung-ipc-e8f642a14a5f56f9dc842ef131f33c30c52171d3.zip external_libsamsung-ipc-e8f642a14a5f56f9dc842ef131f33c30c52171d3.tar.gz external_libsamsung-ipc-e8f642a14a5f56f9dc842ef131f33c30c52171d3.tar.bz2 |
aries: Minor coding style correction
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | samsung-ipc/devices/aries/aries.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/samsung-ipc/devices/aries/aries.c b/samsung-ipc/devices/aries/aries.c index 77fa4b6..fcd3576 100644 --- a/samsung-ipc/devices/aries/aries.c +++ b/samsung-ipc/devices/aries/aries.c @@ -593,6 +593,7 @@ int aries_read(void *data, void *buffer, size_t length) spn_size = sizeof(struct sockaddr_pn); rc = recvfrom(fd, buffer, length, 0, (struct sockaddr *) &transport_data->spn, &spn_size); + return rc; } @@ -615,6 +616,7 @@ int aries_write(void *data, const void *buffer, size_t length) spn_size = sizeof(struct sockaddr_pn); rc = sendto(fd, buffer, length, 0, (const struct sockaddr *) &transport_data->spn, spn_size); + return rc; } @@ -638,6 +640,7 @@ int aries_poll(void *data, struct timeval *timeout) FD_SET(fd, &fds); rc = select(fd + 1, &fds, NULL, NULL, timeout); + return rc; } |