63 |
|
|
64 |
if (!(options & OPTION_DETAILS_QUITE)) { |
if (!(options & OPTION_DETAILS_QUITE)) { |
65 |
imap_status(mbox, "MESSAGES RECENT UNSEEN"); |
imap_status(mbox, "MESSAGES RECENT UNSEEN"); |
66 |
|
info ("In mailbox %s,", mbox); |
67 |
r = status_response(); |
r = status_response(); |
|
info(" in mailbox %s.\n", mbox); |
|
68 |
} |
} |
69 |
return r; |
return r; |
70 |
} |
} |
365 |
char *tok, *mcp, *m, *acp, *occur; |
char *tok, *mcp, *m, *acp, *occur; |
366 |
|
|
367 |
m = mcp = xstrdup(mesgs); |
m = mcp = xstrdup(mesgs); |
368 |
acp = xstrdup(args); |
|
369 |
|
if (*args) { |
370 |
while ((occur = strchr(acp, ','))) |
acp = xstrdup(args); |
371 |
*occur = ' '; |
while ((occur = strchr(acp, ','))) |
372 |
|
*occur = ' '; |
373 |
|
} |
374 |
|
|
375 |
while ((tok = strsep(&m, delim))) { |
while ((tok = strsep(&m, delim))) { |
376 |
if (*args) { |
if (*args) { |
382 |
} |
} |
383 |
|
|
384 |
free(mcp); |
free(mcp); |
385 |
|
if (*args) |
386 |
|
free(acp); |
387 |
|
|
388 |
return 0; |
return 0; |
389 |
} |
} |
398 |
char *tok, *mcp, *m, *acp, *occur; |
char *tok, *mcp, *m, *acp, *occur; |
399 |
|
|
400 |
m = mcp = xstrdup(mesgs); |
m = mcp = xstrdup(mesgs); |
401 |
acp = xstrdup(args); |
|
402 |
|
if (*args) { |
403 |
while ((occur = strchr(acp, ','))) |
acp = xstrdup(args); |
404 |
*occur = ' '; |
|
405 |
|
while ((occur = strchr(acp, ','))) |
406 |
|
*occur = ' '; |
407 |
|
} |
408 |
|
|
409 |
while ((tok = strsep(&m, delim))) { |
while ((tok = strsep(&m, delim))) { |
410 |
if (acp) { |
if (*args) { |
411 |
imap_fetch(1, tok, acp); |
imap_fetch(1, tok, acp); |
412 |
fetch_response(); |
fetch_response(); |
413 |
} |
} |
422 |
} |
} |
423 |
|
|
424 |
free(mcp); |
free(mcp); |
425 |
free(acp); |
|
426 |
|
if (*args) |
427 |
|
free(acp); |
428 |
|
|
429 |
return 0; |
return 0; |
430 |
} |
} |
457 |
|
|
458 |
m = mcp = xstrdup(mesgs); |
m = mcp = xstrdup(mesgs); |
459 |
acp = xstrdup(args); |
acp = xstrdup(args); |
460 |
|
|
461 |
while ((occur = strchr(acp, ','))) |
while ((occur = strchr(acp, ','))) |
462 |
*occur = ' '; |
*occur = ' '; |
463 |
|
|