mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-08 22:55:12 +00:00
More trailing whilespace removal
This commit is contained in:
parent
7d961b6c93
commit
b9cf7acb1a
285 changed files with 769 additions and 769 deletions
|
|
@ -101,20 +101,20 @@ static int ftpc_recvinit(struct ftpc_session_s *session, FAR const char *path,
|
|||
/* Handle the resume offset (caller is responsible for fseeking in the
|
||||
* file)
|
||||
*/
|
||||
|
||||
|
||||
if (offset > 0)
|
||||
{
|
||||
/* Send the REST command. This command sets the offset where the
|
||||
* transfer should start. This must come after PORT or PASV commands.
|
||||
*/
|
||||
|
||||
|
||||
ret = ftpc_cmd(session, "REST %ld", offset);
|
||||
if (ret < 0)
|
||||
{
|
||||
ndbg("REST command failed: %d\n", errno);
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
|
||||
session->size = offset;
|
||||
}
|
||||
|
||||
|
|
@ -217,7 +217,7 @@ static int ftpc_recvbinary(FAR struct ftpc_session_s *session,
|
|||
}
|
||||
|
||||
/* Increment the size of the file written */
|
||||
|
||||
|
||||
session->size += nwritten;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue