mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 08:02:00 +01:00
cosmetic fix for pilerimport
This commit is contained in:
parent
a49c181c86
commit
636f673d3f
@ -14,7 +14,7 @@
|
||||
|
||||
#define VERSION "1.1.1-pre"
|
||||
|
||||
#define BUILD 893
|
||||
#define BUILD 894
|
||||
|
||||
#define HOSTID "mailarchiver"
|
||||
|
||||
|
@ -132,7 +132,7 @@ int process_imap_folder(int sd, int *seq, char *folder, struct session_data *sda
|
||||
|
||||
for(i=data->import->start_position; i<=messages; i++){
|
||||
data->import->processed_messages++;
|
||||
printf("processed: %7d\r", data->import->processed_messages); fflush(stdout);
|
||||
if(data->quiet == 0){ printf("processed: %7d [%3d%%]\r", data->import->processed_messages, 100*i/messages); fflush(stdout); }
|
||||
|
||||
snprintf(tag, sizeof(tag)-1, "A%d", *seq);
|
||||
snprintf(tagok, sizeof(tagok)-1, "A%d OK", (*seq)++);
|
||||
|
@ -124,7 +124,7 @@ int process_pop3_emails(int sd, struct session_data *sdata, struct __data *data,
|
||||
|
||||
for(i=data->import->start_position; i<=data->import->total_messages; i++){
|
||||
data->import->processed_messages++;
|
||||
if(data->quiet == 0){ printf("processed: %7d\r", data->import->processed_messages); fflush(stdout); }
|
||||
if(data->quiet == 0){ printf("processed: %7d [%3d%%]\r", data->import->processed_messages, 100*i/data->import->total_messages); fflush(stdout); }
|
||||
|
||||
|
||||
snprintf(buf, sizeof(buf)-1, "RETR %d\r\n", i);
|
||||
|
Loading…
Reference in New Issue
Block a user