summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-27 18:42:45 +0100
committerVolker Lendecke <vl@samba.org>2009-01-03 19:07:57 +0100
commitb6138bf4f22e7a093d35e2f23992595acae55068 (patch)
tree96c0ccd8c8b8eb77b62386b5194542322309db94
parent27abf6731ed472580157a0447e858e11f6f63f3b (diff)
downloadsamba-b6138bf4f22e7a093d35e2f23992595acae55068.tar.gz
samba-b6138bf4f22e7a093d35e2f23992595acae55068.tar.bz2
samba-b6138bf4f22e7a093d35e2f23992595acae55068.zip
Fix retval of async_syscall_result_int
-rw-r--r--source3/include/async_sock.h2
-rw-r--r--source3/lib/async_sock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/async_sock.h b/source3/include/async_sock.h
index f0cd5fdaa4..892ffef087 100644
--- a/source3/include/async_sock.h
+++ b/source3/include/async_sock.h
@@ -24,7 +24,7 @@
ssize_t async_syscall_result_ssize_t(struct async_req *req, int *perrno);
size_t async_syscall_result_size_t(struct async_req *req, int *perrno);
-ssize_t async_syscall_result_int(struct async_req *req, int *perrno);
+int async_syscall_result_int(struct async_req *req, int *perrno);
struct async_req *async_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
int fd, const void *buffer, size_t length,
diff --git a/source3/lib/async_sock.c b/source3/lib/async_sock.c
index cb545854dd..107d1402fc 100644
--- a/source3/lib/async_sock.c
+++ b/source3/lib/async_sock.c
@@ -209,7 +209,7 @@ size_t async_syscall_result_size_t(struct async_req *req, int *perrno)
* @retval The return value from the asynchronously called syscall
*/
-ssize_t async_syscall_result_int(struct async_req *req, int *perrno)
+int async_syscall_result_int(struct async_req *req, int *perrno)
{
struct async_syscall_state *state = talloc_get_type_abort(
req->private_data, struct async_syscall_state);