Somehow I managed to commit the wrong patch. Not build => not bump.
Noticed by Scott McEachern, thanks!
This commit is contained in:
parent
ee5d451451
commit
1731b23a56
@ -1,6 +1,15 @@
|
||||
$OpenBSD: patch-src_sensors_network_cpp,v 1.2 2013/06/07 10:36:14 zhuk Exp $
|
||||
--- src/sensors/network.cpp.orig Fri Jun 7 14:13:54 2013
|
||||
+++ src/sensors/network.cpp Fri Jun 7 14:16:16 2013
|
||||
$OpenBSD: patch-src_sensors_network_cpp,v 1.3 2013/06/08 09:10:07 zhuk Exp $
|
||||
--- src/sensors/network.cpp.orig Tue May 28 23:30:38 2013
|
||||
+++ src/sensors/network.cpp Sat Jun 8 13:09:01 2013
|
||||
@@ -96,7 +96,7 @@ void NetworkSensor::refreshDevice() {
|
||||
QString line = t.readLine(); // finally reads something we care about
|
||||
|
||||
QStringList::ConstIterator listEnd(interfaceList.constEnd());
|
||||
- while ((rank != 0) && (line != 0)) {
|
||||
+ while ((rank != 0) && !line.isNull()) {
|
||||
int i = 0;
|
||||
for (QStringList::ConstIterator dev = interfaceList.constBegin();
|
||||
(dev != listEnd) && (i < rank);
|
||||
@@ -151,7 +151,7 @@ void NetworkSensor::getInOutBytes(unsigned long &in, u
|
||||
QTextStream t(&file); // use a text stream
|
||||
line = t.readLine();
|
||||
|
Loading…
x
Reference in New Issue
Block a user