- fixed bug in list

This commit is contained in:
zolliker
2008-06-05 13:34:29 +00:00
parent dc6225ecce
commit 3cb901b437
2 changed files with 10 additions and 9 deletions

View File

@@ -11,7 +11,6 @@
typedef struct ErrMsg {
struct ErrMsg *next;
char *text; /**< the message text */
char *cmpr; /**< compressed message text */
int cnt; /**< count */
time_t last; /**< time of last message */
} ErrMsg;
@@ -22,6 +21,7 @@ typedef struct ErrMsg {
* with the same text, storing only the count and the last used time.
* Characters within sqaure brackets are not taken into account
* when comparing messages.
* The newset message is always at the head of the list.
*
* \param dump the error message list
* \param fmt the format for the message