mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
agent: Use the our poll typedef.
This commit is contained in:
@@ -85,7 +85,7 @@ static size_t atomicio(ssh_socket s, void *buf, size_t n, int do_read) {
|
|||||||
char *b = buf;
|
char *b = buf;
|
||||||
size_t pos = 0;
|
size_t pos = 0;
|
||||||
ssize_t res;
|
ssize_t res;
|
||||||
struct pollfd pfd;
|
ssh_pollfd_t pfd;
|
||||||
socket_t fd = ssh_socket_get_fd_in(s);
|
socket_t fd = ssh_socket_get_fd_in(s);
|
||||||
|
|
||||||
pfd.fd = fd;
|
pfd.fd = fd;
|
||||||
|
|||||||
Reference in New Issue
Block a user