aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index ab803bdfe..f4d3384ea 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
static const char buf_2 [] = "RNTO " RENAME_FILE_TO;
/* get the file size of the local file */
- if (stat(LOCAL_FILE, &file_info)) {
+ if(stat(LOCAL_FILE, &file_info)) {
printf("Couldnt open '%s': %s\n", LOCAL_FILE, strerror(errno));
exit(1);
}