aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkeil <mkeil@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-05 23:58:18 +0000
committermkeil <mkeil@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-05 23:58:18 +0000
commit7cf5b8818b8e4ff513b0c939bac79e66f3b00cef (patch)
tree7604de7e90004cdc2623d1052cf3fc12b34693f8
parent2e458ba41bcc121d0431bd43cb3a3541d1a21171 (diff)
downloadlcd4linux-7cf5b8818b8e4ff513b0c939bac79e66f3b00cef.tar.gz
[lcd4linux @ 2004-02-05 23:58:18 by mkeil]
Fixed/Optimized Hashage-timings git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@357 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--plugin_xmms.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin_xmms.c b/plugin_xmms.c
index 142c7a6..400c55c 100644
--- a/plugin_xmms.c
+++ b/plugin_xmms.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_xmms.c,v 1.7 2004/01/29 04:40:02 reinelt Exp $
+/* $Id: plugin_xmms.c,v 1.8 2004/02/05 23:58:18 mkeil Exp $
*
* XMMS-Plugin for LCD4Linux
* Copyright 2003 Markus Keil <markus_keil@t-online.de>
@@ -21,6 +21,9 @@
*
*
* $Log: plugin_xmms.c,v $
+ * Revision 1.8 2004/02/05 23:58:18 mkeil
+ * Fixed/Optimized Hashage-timings
+ *
* Revision 1.7 2004/01/29 04:40:02 reinelt
* every .c file includes "config.h" now
*
@@ -96,8 +99,7 @@ static int parse_xmms_info (void)
// reread every 100msec only
age=hash_age(&xmms, NULL, NULL);
- if (age>0 && age<=100) return 0;
-
+ if (age>=0 && age<=200) return 0;
// Open Filestream for '/tmp/xmms-info'
xmms_stream = fopen("/tmp/xmms-info","r");