From 99e6fde751365f0f3508ce9e1899d28ca4c3edb3 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 23 Aug 2011 17:12:50 +0300 Subject: [PATCH] scp: Fixed documentation bug #9 --- src/scp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/scp.c b/src/scp.c index 3a95c24c..e9037750 100644 --- a/src/scp.c +++ b/src/scp.c @@ -494,16 +494,20 @@ int ssh_scp_read_string(ssh_scp scp, char *buffer, size_t len){ * * @returns SSH_SCP_REQUEST_NEWFILE: The other side is sending * a file - * SSH_SCP_REQUEST_NEWDIRECTORY: The other side is sending + * SSH_SCP_REQUEST_NEWDIR: The other side is sending * a directory - * SSH_SCP_REQUEST_END_DIRECTORY: The other side has + * SSH_SCP_REQUEST_ENDDIR: The other side has * finished with the current * directory + * SSH_SCP_REQUEST_WARNING: The other side sent us a warning + * SSH_SCP_REQUEST_EOF: The other side finished sending us + * files and data. * SSH_ERROR: Some error happened * * @see ssh_scp_read() * @see ssh_scp_deny_request() * @see ssh_scp_accept_request() + * @see ssh_scp_request_get_warning() */ int ssh_scp_pull_request(ssh_scp scp){ char buffer[4096];