From fc58305a1a67ab176b7f2c59b2510ee1f589469d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 27 Aug 2011 21:38:57 +0000 Subject: Fix a number of accidental tqStatus string conversions git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- klaptopdaemon/portable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klaptopdaemon') diff --git a/klaptopdaemon/portable.cpp b/klaptopdaemon/portable.cpp index 346a311..dbcb57c 100644 --- a/klaptopdaemon/portable.cpp +++ b/klaptopdaemon/portable.cpp @@ -304,7 +304,7 @@ readit: char buff2[1024]; if (fgets(buff2, sizeof(buff), f) == NULL) break; - if (strstr(buff2, "tqStatus:") != NULL || + if (strstr(buff2, "Status:") != NULL || strstr(buff2, "state:") != NULL) { if (strstr(buff2, "on-line") != NULL) { fclose(f); -- cgit v1.2.1