aboutsummaryrefslogtreecommitdiffstats
path: root/mail.c
diff options
context:
space:
mode:
authorreinelt <>2001-03-08 09:02:04 +0000
committerreinelt <>2001-03-08 09:02:04 +0000
commit30f18de3d08ec4fa032926a0121542cafa4bfb98 (patch)
treed48cd443a22fab86e8df0223363714d6bd3aa7ca /mail.c
parente2c7102873c487b66a43bdaf31495b8994bf7cd5 (diff)
downloadlcd4linux-30f18de3d08ec4fa032926a0121542cafa4bfb98.tar.gz
[lcd4linux @ 2001-03-08 09:02:04 by reinelt]
seti client cleanup
Diffstat (limited to 'mail.c')
-rw-r--r--mail.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail.c b/mail.c
index 180f9e1..8d55471 100644
--- a/mail.c
+++ b/mail.c
@@ -1,4 +1,4 @@
-/* $Id: mail.c,v 1.3 2001/02/21 04:48:13 reinelt Exp $
+/* $Id: mail.c,v 1.4 2001/03/08 09:02:04 reinelt Exp $
*
* email specific functions
*
@@ -20,6 +20,10 @@
*
*
* $Log: mail.c,v $
+ * Revision 1.4 2001/03/08 09:02:04 reinelt
+ *
+ * seti client cleanup
+ *
* Revision 1.3 2001/02/21 04:48:13 reinelt
*
* big mailbox patch from Axel Ehnert
@@ -86,7 +90,7 @@ int Mail (int index, int *num)
/*
Build the filename from the config
*/
- snprintf(buffer, 32, "Mailbox%d", index);
+ snprintf(buffer, sizeof(buffer), "Mailbox%d", index);
fnp1=cfg_get(buffer);
if (fnp1==NULL || *fnp1=='\0') {
cfgmbx[index]=FALSE; // There is now entry for Mailbox #index