[dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.19,1.20
cras at procontrol.fi
cras at procontrol.fi
Mon Apr 26 23:48:06 EEST 2004
- Previous message: [dovecot-cvs] dovecot dovecot-example.conf,1.78,1.79
- Next message: [dovecot-cvs]
dovecot/src/auth db-pgsql.c, 1.5, 1.6 db-pgsql.h, 1.2,
1.3 passdb-pgsql.c, 1.2, 1.3 userdb-pgsql.c, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv13906
Modified Files:
mail-storage.c
Log Message:
"Internal error" message changed.
Index: mail-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- mail-storage.c 20 Oct 2003 04:15:17 -0000 1.19
+++ mail-storage.c 26 Apr 2004 20:48:04 -0000 1.20
@@ -9,7 +9,9 @@
#include <ctype.h>
/* Message to show to users when critical error occurs */
-#define CRITICAL_MSG "Internal error [%Y-%m-%d %H:%M:%S]"
+#define CRITICAL_MSG \
+ "Internal error occured. Error report written to server log."
+#define CRITICAL_MSG_STAMP CRITICAL_MSG " [%Y-%m-%d %H:%M:%S]"
struct mail_storage_list {
struct mail_storage_list *next;
@@ -234,8 +236,9 @@
tm = localtime(&ioloop_time);
i_free(storage->error);
- storage->error = strftime(str, sizeof(str), CRITICAL_MSG, tm) > 0 ?
- i_strdup(str) : i_strdup("Internal error");
+ storage->error =
+ strftime(str, sizeof(str), CRITICAL_MSG_STAMP, tm) > 0 ?
+ i_strdup(str) : i_strdup(CRITICAL_MSG);
storage->syntax_error = FALSE;
}
- Previous message: [dovecot-cvs] dovecot dovecot-example.conf,1.78,1.79
- Next message: [dovecot-cvs]
dovecot/src/auth db-pgsql.c, 1.5, 1.6 db-pgsql.h, 1.2,
1.3 passdb-pgsql.c, 1.2, 1.3 userdb-pgsql.c, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list