aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-19 16:23:03 +0000
committerGunter Knauf <gk@gknw.de>2008-02-19 16:23:03 +0000
commitade0890746c43b078722b6e960a59a0834d416f2 (patch)
treec1cc9fabc30b2655f19db72bbf43941b58d59961 /docs/examples
parent7a5596bf02624588cfa7905a6995c2165a375776 (diff)
fix for new codestyle.
Diffstat (limited to 'docs/examples')
-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);
}