diff --git a/src/import_mailbox.c b/src/import_mailbox.c index 3de0e40e..79e1a05c 100644 --- a/src/import_mailbox.c +++ b/src/import_mailbox.c @@ -51,7 +51,7 @@ int import_from_mailbox(char *mailbox, struct session_data *sdata, struct __data } else unlink(fname); - if(data->quiet == 0) printf("processed: %7d\r", tot_msgs); fflush(stdout); + if(data->quiet == 0){ printf("processed: %7d\r", tot_msgs); fflush(stdout); } } snprintf(fname, sizeof(fname)-1, "%ld-%d", t, tot_msgs); @@ -71,7 +71,7 @@ int import_from_mailbox(char *mailbox, struct session_data *sdata, struct __data } else unlink(fname); - if(data->quiet == 0) printf("processed: %7d\r", tot_msgs); fflush(stdout); + if(data->quiet == 0){ printf("processed: %7d\r", tot_msgs); fflush(stdout); } } fclose(F); diff --git a/src/import_maildir.c b/src/import_maildir.c index cb4c5a2a..97607903 100644 --- a/src/import_maildir.c +++ b/src/import_maildir.c @@ -87,7 +87,7 @@ int import_from_maildir(char *directory, struct session_data *sdata, struct __da i++; - if(data->quiet == 0) printf("processed: %7d\r", *tot_msgs); fflush(stdout); + if(data->quiet == 0){ printf("processed: %7d\r", *tot_msgs); fflush(stdout); } } else { printf("%s is not a file\n", fname);