summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper/socket_wrapper.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-07-27 15:08:05 +0200
committerChristian Ambach <ambi@samba.org>2012-08-06 18:07:52 +0200
commit0dfc33026e1445327954b8822afe4e44e82185ef (patch)
tree6e5414bf16f1f0181afdd95fe32ad19517091834 /lib/socket_wrapper/socket_wrapper.c
parent18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb (diff)
downloadsamba-0dfc33026e1445327954b8822afe4e44e82185ef.tar.gz
samba-0dfc33026e1445327954b8822afe4e44e82185ef.tar.bz2
samba-0dfc33026e1445327954b8822afe4e44e82185ef.zip
lib/socket_wrapper: writev returns ssize_t, not int
Diffstat (limited to 'lib/socket_wrapper/socket_wrapper.c')
-rw-r--r--lib/socket_wrapper/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c
index 44d21fb3e1..3c9d0f1a9c 100644
--- a/lib/socket_wrapper/socket_wrapper.c
+++ b/lib/socket_wrapper/socket_wrapper.c
@@ -2506,7 +2506,7 @@ int swrap_readv(int s, const struct iovec *vector, size_t count)
return ret;
}
-int swrap_writev(int s, const struct iovec *vector, size_t count)
+ssize_t swrap_writev(int s, const struct iovec *vector, size_t count)
{
struct msghdr msg;
struct iovec tmp;