diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-27 21:38:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-27 21:38:57 +0000 |
commit | fc58305a1a67ab176b7f2c59b2510ee1f589469d (patch) | |
tree | 0fda8d2f95d201500a20be60606f60d2f5d6164e | |
parent | b12c7d1d6b50fd41c4aa8deea89bb92f3d43ec08 (diff) | |
download | tdeutils-fc58305a1a67ab176b7f2c59b2510ee1f589469d.tar.gz tdeutils-fc58305a1a67ab176b7f2c59b2510ee1f589469d.zip |
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
-rw-r--r-- | klaptopdaemon/portable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |