[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/ksysguard/ksysguardd
From: John Tapsell <john.tapsell () kdemail ! net>
Date: 2010-02-22 18:01:26
Message-ID: 1266861686.436961.25873.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1094401 by johnflux:
Only log a maximum of 10 error messages
M +4 -0 Command.c
--- trunk/KDE/kdebase/workspace/ksysguard/ksysguardd/Command.c #1094400:1094401
@@ -91,6 +91,10 @@
void log_error( const char *fmt, ... )
{
+ static int maxLogs = 0;
+ if(maxLogs++ > 10)
+ return;
+
char errmsg[ 1024 ];
va_list az;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic