diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-26 13:55:01 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-26 13:55:01 +0000 |
commit | f333a7c9189a3eb2f2b6538b203b593f97b6942b (patch) | |
tree | f06d36de4feec1b3f8a24af838bdea69b5d874c5 /sieve | |
parent | 594e5f5cccebdde93f349605998486280aca311c (diff) | |
download | mailutils-f333a7c9189a3eb2f2b6538b203b593f97b6942b.tar.gz mailutils-f333a7c9189a3eb2f2b6538b203b593f97b6942b.tar.bz2 |
Fixed use of OPTION_DOC options.
Diffstat (limited to 'sieve')
-rw-r--r-- | sieve/sieve.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c index d86c4f9c0..c423f8706 100644 --- a/sieve/sieve.c +++ b/sieve/sieve.c | |||
@@ -361,13 +361,13 @@ main (int argc, char *argv[]) | |||
361 | { | 361 | { |
362 | if ((rc = wicket_create (&wicket, opts.tickets)) != 0) | 362 | if ((rc = wicket_create (&wicket, opts.tickets)) != 0) |
363 | { | 363 | { |
364 | mu_error (_("wicket create <%s> failed: %s\n"), | 364 | mu_error (_("wicket_create <%s> failed: %s"), |
365 | opts.tickets, mu_strerror (rc)); | 365 | opts.tickets, mu_strerror (rc)); |
366 | goto cleanup; | 366 | goto cleanup; |
367 | } | 367 | } |
368 | if ((rc = wicket_get_ticket (wicket, &ticket, 0, 0)) != 0) | 368 | if ((rc = wicket_get_ticket (wicket, &ticket, 0, 0)) != 0) |
369 | { | 369 | { |
370 | mu_error (_("ticket get failed: %s\n"), mu_strerror (rc)); | 370 | mu_error (_("ticket_get failed: %s"), mu_strerror (rc)); |
371 | goto cleanup; | 371 | goto cleanup; |
372 | } | 372 | } |
373 | sieve_set_ticket (mach, ticket); | 373 | sieve_set_ticket (mach, ticket); |
@@ -378,18 +378,18 @@ main (int argc, char *argv[]) | |||
378 | { | 378 | { |
379 | if ((rc = mu_debug_create (&debug, mach))) | 379 | if ((rc = mu_debug_create (&debug, mach))) |
380 | { | 380 | { |
381 | mu_error (_("mu_debug_create failed: %s\n"), mu_strerror (rc)); | 381 | mu_error (_("mu_debug_create failed: %s"), mu_strerror (rc)); |
382 | goto cleanup; | 382 | goto cleanup; |
383 | } | 383 | } |
384 | if ((rc = mu_debug_set_level (debug, opts.debug_level))) | 384 | if ((rc = mu_debug_set_level (debug, opts.debug_level))) |
385 | { | 385 | { |
386 | mu_error (_("mu_debug_set_level failed: %s\n"), | 386 | mu_error (_("mu_debug_set_level failed: %s"), |
387 | mu_strerror (rc)); | 387 | mu_strerror (rc)); |
388 | goto cleanup; | 388 | goto cleanup; |
389 | } | 389 | } |
390 | if ((rc = mu_debug_set_print (debug, debugfp, mach))) | 390 | if ((rc = mu_debug_set_print (debug, debugfp, mach))) |
391 | { | 391 | { |
392 | mu_error (_("mu_debug_set_print failed: %s\n"), | 392 | mu_error (_("mu_debug_set_print failed: %s"), |
393 | mu_strerror (rc)); | 393 | mu_strerror (rc)); |
394 | goto cleanup; | 394 | goto cleanup; |
395 | } | 395 | } |
@@ -400,14 +400,14 @@ main (int argc, char *argv[]) | |||
400 | /* Create, give a ticket to, and open the mailbox. */ | 400 | /* Create, give a ticket to, and open the mailbox. */ |
401 | if ((rc = mailbox_create_default (&mbox, opts.mbox)) != 0) | 401 | if ((rc = mailbox_create_default (&mbox, opts.mbox)) != 0) |
402 | { | 402 | { |
403 | mu_error (_("mailbox create <%s> failed: %s\n"), | 403 | mu_error (_("mailbox_create <%s> failed: %s"), |
404 | opts.mbox ? opts.mbox : _("default"), mu_strerror (rc)); | 404 | opts.mbox ? opts.mbox : _("default"), mu_strerror (rc)); |
405 | goto cleanup; | 405 | goto cleanup; |
406 | } | 406 | } |
407 | 407 | ||
408 | if (debug && (rc = mailbox_set_debug (mbox, debug))) | 408 | if (debug && (rc = mailbox_set_debug (mbox, debug))) |
409 | { | 409 | { |
410 | mu_error (_("mailbox_set_debug failed: %s\n"), mu_strerror (rc)); | 410 | mu_error (_("mailbox_set_debug failed: %s"), mu_strerror (rc)); |
411 | goto cleanup; | 411 | goto cleanup; |
412 | } | 412 | } |
413 | 413 | ||
@@ -447,8 +447,8 @@ main (int argc, char *argv[]) | |||
447 | 447 | ||
448 | if (rc != 0) | 448 | if (rc != 0) |
449 | { | 449 | { |
450 | mu_error (_("open on %s failed: %s\n"), | 450 | mu_error (_("open on %s failed: %s"), |
451 | opts.mbox ? opts.mbox : _("default"), mu_strerror (rc)); | 451 | opts.mbox ? opts.mbox : _("default"), mu_strerror (rc)); |
452 | goto cleanup; | 452 | goto cleanup; |
453 | } | 453 | } |
454 | 454 | ||
@@ -465,7 +465,7 @@ cleanup: | |||
465 | any messages that were marked DELETED even if execution failed | 465 | any messages that were marked DELETED even if execution failed |
466 | on a later message. */ | 466 | on a later message. */ |
467 | if ((e = mailbox_expunge (mbox)) != 0) | 467 | if ((e = mailbox_expunge (mbox)) != 0) |
468 | mu_error (_("expunge on %s failed: %s\n"), | 468 | mu_error (_("expunge on %s failed: %s"), |
469 | opts.mbox ? opts.mbox : _("default"), mu_strerror (e)); | 469 | opts.mbox ? opts.mbox : _("default"), mu_strerror (e)); |
470 | 470 | ||
471 | if (e && !rc) | 471 | if (e && !rc) |