summaryrefslogtreecommitdiff
path: root/source3/include/packet.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-07 16:59:38 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-28 16:40:19 +0100
commit2b0057c2cb4f05005354008044049fc3dc2bd1fd (patch)
tree6d0ed397c035c325c270f44a166e6b134a974cfe /source3/include/packet.h
parentdeb58b2e941f6d307f28f7b909f388c39fe915e8 (diff)
downloadsamba-2b0057c2cb4f05005354008044049fc3dc2bd1fd.tar.gz
samba-2b0057c2cb4f05005354008044049fc3dc2bd1fd.tar.bz2
samba-2b0057c2cb4f05005354008044049fc3dc2bd1fd.zip
s3: Eliminate select from packet_fd_read_sync
Diffstat (limited to 'source3/include/packet.h')
-rw-r--r--source3/include/packet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/packet.h b/source3/include/packet.h
index a77a1a7cbc..c96a8017f8 100644
--- a/source3/include/packet.h
+++ b/source3/include/packet.h
@@ -38,8 +38,7 @@ NTSTATUS packet_fd_read(struct packet_context *ctx);
/*
* Sync read, wait for the next chunk
*/
-NTSTATUS packet_fd_read_sync(struct packet_context *ctx,
- struct timeval *timeout);
+NTSTATUS packet_fd_read_sync(struct packet_context *ctx, int timeout);
/*
* Handle an incoming packet: