diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index ab803bdfea4a5f63ff688c4eb895f48226776709..f4d3384ea0b0714a741fd122f1a98601ff85ecd5 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);
   }