aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-06-24 09:14:07 +0200
committerAndreas Schneider <asn@cynapses.org>2010-06-24 09:19:10 +0200
commit703f125882caa8ead59473a9f31294fbe16a2667 (patch)
treec9b3b0bdf2c490b081ed4bae09a74c0c89f7c39a /libssh
parent4581b24b485a26fccccb7099371e78c6a00b5f5f (diff)
downloadlibssh-703f125882caa8ead59473a9f31294fbe16a2667.tar.gz
libssh-703f125882caa8ead59473a9f31294fbe16a2667.tar.xz
libssh-703f125882caa8ead59473a9f31294fbe16a2667.zip
agent: Use the our poll typedef.
Diffstat (limited to 'libssh')
-rw-r--r--libssh/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/agent.c b/libssh/agent.c
index de9b9e1..16b38b8 100644
--- a/libssh/agent.c
+++ b/libssh/agent.c
@@ -85,7 +85,7 @@ static size_t atomicio(ssh_socket s, void *buf, size_t n, int do_read) {
char *b = buf;
size_t pos = 0;
ssize_t res;
- struct pollfd pfd;
+ ssh_pollfd_t pfd;
socket_t fd = ssh_socket_get_fd_in(s);
pfd.fd = fd;