Fixed a too small variable

This commit is contained in:
Michiel Broek 2007-09-02 11:01:26 +00:00
parent 038a0f8056
commit 47c36d204f

View File

@ -4,7 +4,7 @@
* Purpose ...............: mbtask - Scan mail outbound status * Purpose ...............: mbtask - Scan mail outbound status
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2006 * Copyright (C) 1997-2007
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -254,7 +254,7 @@ int outstat()
{ {
int rc, first = TRUE, T_window, iszmh = FALSE; int rc, first = TRUE, T_window, iszmh = FALSE;
struct _alist *tmp, *old; struct _alist *tmp, *old;
char digit[6], flstr[13], *temp, as[6], be[6], utc[6], flavor, *temp2, *fmt, *buf; char digit[6], flstr[15], *temp, as[6], be[6], utc[6], flavor, *temp2, *fmt, *buf;
time_t now; time_t now;
struct tm tm; struct tm tm;
int uhour, umin, thour, tmin; int uhour, umin, thour, tmin;
@ -522,7 +522,7 @@ int outstat()
T_window = TRUE; T_window = TRUE;
} }
} }
strcpy(flstr,"...... .... .."); strncpy(flstr, "...... .... ..", 14);
/* /*
* If the node has internet and we have internet configured, * If the node has internet and we have internet configured,