• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

test


Commit MetaInfo

Revisão18a6c2602b7b042c0f76f6d68c851ed890c666ea (tree)
Hora2010-04-03 18:11:42
AutorTATEISHI Katsuyuki <kt@whee...>
CommiterTATEISHI Katsuyuki

Mensagem de Log

Change error message.

Mudança Sumário

Diff

--- a/src/from.c
+++ b/src/from.c
@@ -51,8 +51,10 @@ main(int argc, char **argv) {
5151 mbox = fopen(path_mbox, "r");
5252 }
5353
54- if (mbox == NULL)
55- err(1, "fopen():", getprogname());
54+ if (mbox == NULL) {
55+ fprintf(stderr, "%s: can't read %s\n", getprogname(), path_mbox);
56+ return 1;
57+ }
5658
5759 search_mail(mbox, sender, count_mode);
5860