[Spread-cvs] cvs commit: spread/daemon Readme.txt alarm.c
jonathan at spread.org
jonathan at spread.org
Wed Sep 22 18:03:11 EDT 2004
jonathan 04/09/22 18:03:11
Modified: daemon Readme.txt alarm.c
Log:
Fix bug where old-style Alarm() calls would not be printed at WARNING level
but rather at INFO level.
Revision Changes Path
1.55 +2 -0 spread/daemon/Readme.txt
Index: Readme.txt
===================================================================
RCS file: /storage/cvsroot/spread/daemon/Readme.txt,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- Readme.txt 16 Apr 2004 17:58:44 -0000 1.54
+++ Readme.txt 22 Sep 2004 22:03:10 -0000 1.55
@@ -56,6 +56,8 @@
Schlossnagle.
2) spuser,spflooder, and spmonitor fixed to print correct name in help.
Patch by Daniel Rall.
+3) Fix incorrect alarm printing where WARNING messages generated by
+ older Alarm() interface were not printed.
SOURCE INSTALL:
---------------
1.7 +1 -1 spread/daemon/alarm.c
Index: alarm.c
===================================================================
RCS file: /storage/cvsroot/spread/daemon/alarm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- alarm.c 5 Mar 2004 00:32:46 -0000 1.6
+++ alarm.c 22 Sep 2004 22:03:11 -0000 1.7
@@ -106,7 +106,7 @@
*/
void Alarm( int32 mask, char *message, ...)
{
- if ( ( Alarm_type_mask & mask ) && (Alarm_cur_priority < SPLOG_WARNING) )
+ if ( ( Alarm_type_mask & mask ) && (Alarm_cur_priority <= SPLOG_WARNING) )
{
va_list ap;
More information about the Spread-cvs
mailing list