diff options
author | reinelt <> | 2001-09-12 05:58:16 +0000 |
---|---|---|
committer | reinelt <> | 2001-09-12 05:58:16 +0000 |
commit | 790c554d43e996db3efe96a32eb1f59e876c3f91 (patch) | |
tree | 9821b52a6642ec14196613b48ba2eb0b2b379b0a /mail.c | |
parent | fdfa63e281bfeb119f53db84810b705b9e64a1c2 (diff) | |
download | lcd4linux-790c554d43e996db3efe96a32eb1f59e876c3f91.tar.gz |
[lcd4linux @ 2001-09-12 05:58:16 by reinelt]
fixed bug in mail2.c
Diffstat (limited to 'mail.c')
-rw-r--r-- | mail.c | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: mail.c,v 1.10 2001/09/12 05:37:22 reinelt Exp $ +/* $Id: mail.c,v 1.11 2001/09/12 05:58:16 reinelt Exp $ * * email specific functions * @@ -20,6 +20,9 @@ * * * $Log: mail.c,v $ + * Revision 1.11 2001/09/12 05:58:16 reinelt + * fixed bug in mail2.c + * * Revision 1.10 2001/09/12 05:37:22 reinelt * * fixed a bug in seti.c (file was never closed, lcd4linux run out of fd's @@ -92,11 +95,11 @@ int Mail (int index, int *num, int *unseen) { FILE *fstr; char buffer[32]; - static int cfgmbx[MAILBOXES+1]={[0 ... MAILBOXES]=TRUE,}; // Mailbox #index configured? - static time_t mbxlt[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // mtime of Mailbox #index - static int mbxnum[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // Last calculated # of mails - static time_t now[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // Last call to procedure at - // for Mailbox #index + static int cfgmbx[MAILBOXES+1]={[0 ... MAILBOXES]=TRUE,}; // Mailbox #index configured? + static time_t mbxlt[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // mtime of Mailbox #index + static int mbxnum[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // Last calculated # of mails + static time_t now[MAILBOXES+1]={[0 ... MAILBOXES]=0,}; // Last call to procedure at + // for Mailbox #index char *fnp1; int v1=0; int last_line_blank1; // Was the last line blank? |