]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix retval of async_syscall_result_int
authorVolker Lendecke <vl@samba.org>
Sat, 27 Dec 2008 17:42:45 +0000 (18:42 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 3 Jan 2009 18:07:57 +0000 (19:07 +0100)
source3/include/async_sock.h
source3/lib/async_sock.c

index f0cd5fdaa4e9ada828c29b63d7f6c31521160654..892ffef08715a3443c1cd7c8904bc3a0fcc3953c 100644 (file)
@@ -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,
index cb545854dd330809ecf9c623b32b12d688669ea2..107d1402fcbbbf29afff698d66e1641fc4ba1f41 100644 (file)
@@ -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);