diff options
author | Nikias Bassen | 2014-03-10 17:01:57 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-03-10 17:01:57 +0100 |
commit | 6603bbc82f7590e6e4328dc9339726f04b2c8710 (patch) | |
tree | 0ecadf61a604af836a358ee564d675f63975ba64 | |
parent | d2eb680e18d08e0d64702e56b47c4ceddb44d6c8 (diff) | |
download | libusbmuxd-6603bbc82f7590e6e4328dc9339726f04b2c8710.tar.gz libusbmuxd-6603bbc82f7590e6e4328dc9339726f04b2c8710.tar.bz2 |
use socket_send() instead of send()
-rw-r--r-- | src/libusbmuxd.c | 2 |
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; |