summaryrefslogtreecommitdiffstats
path: root/src/libusbmuxd.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-10 17:01:57 +0100
committerGravatar Nikias Bassen2014-03-10 17:01:57 +0100
commit6603bbc82f7590e6e4328dc9339726f04b2c8710 (patch)
tree0ecadf61a604af836a358ee564d675f63975ba64 /src/libusbmuxd.c
parentd2eb680e18d08e0d64702e56b47c4ceddb44d6c8 (diff)
downloadlibusbmuxd-6603bbc82f7590e6e4328dc9339726f04b2c8710.tar.gz
libusbmuxd-6603bbc82f7590e6e4328dc9339726f04b2c8710.tar.bz2
use socket_send() instead of send()
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r--src/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 442b6e0..1b57b69 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -1043,7 +1043,7 @@ int usbmuxd_send(int sfd, const char *data, uint32_t len, uint32_t *sent_bytes)
return -EINVAL;
}
- num_sent = send(sfd, (void*)data, len, 0);
+ num_sent = socket_send(sfd, (void*)data, len);
if (num_sent < 0) {
*sent_bytes = 0;
num_sent = errno;