241 |
do { |
do { |
242 |
messg = strtoul(unwanted, &unwanted, 0); |
messg = strtoul(unwanted, &unwanted, 0); |
243 |
|
|
244 |
imap_fetch(messg, headers); |
if (options & OPTION_SHOW_HEADERS) { |
245 |
|
imap_fetch(messg, headers); |
246 |
|
|
247 |
if (!(options & OPTION_DETAILS_QUITE)) { |
if (!(options & OPTION_DETAILS_QUITE)) |
248 |
printf("Deleting message:\n%s\n", headers); |
printf("Deleting message:\n%s", headers); |
249 |
|
|
250 |
|
if (!(options & OPTION_TEST_MODE)) |
251 |
|
log_info("%s", headers); |
252 |
} |
} |
253 |
|
|
254 |
if (!(options & OPTION_TEST_MODE)) { |
if (!(options & OPTION_TEST_MODE)) |
|
log_info("%s\n", headers); |
|
255 |
imap_store(messg); |
imap_store(messg); |
256 |
} |
|
257 |
} while (*unwanted); |
} while (*unwanted); |
258 |
} |
} |