aboutsummaryrefslogtreecommitdiff
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:14:07 +0200
commit508067158162df11cd07a2b264b12f07c6d78e46 (patch)
tree00071fecd41d07dc3f200cbb464110c0138921f1
parente67fafd60f3985399a0586e4743b6c81d9a412a4 (diff)
downloadlibssh-508067158162df11cd07a2b264b12f07c6d78e46.tar.gz
libssh-508067158162df11cd07a2b264b12f07c6d78e46.tar.xz
libssh-508067158162df11cd07a2b264b12f07c6d78e46.zip
agent: Use the our poll typedef.
-rw-r--r--libssh/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/agent.c b/libssh/agent.c
index 2cd83684..dc3e799e 100644
--- a/libssh/agent.c
+++ b/libssh/agent.c
@@ -85,7 +85,7 @@ static size_t atomicio(struct 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(s);
pfd.fd = fd;