git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84282dc
)
Revert change to dump loop condition
author
Jeremy Tan
<
[email protected]
>
Fri, 6 Sep 2013 12:01:02 +0000
(20:01 +0800)
committer
Jeremy Tan
<
[email protected]
>
Fri, 6 Sep 2013 12:01:02 +0000
(20:01 +0800)
server/sensor.c
patch
|
blob
|
history
diff --git
a/server/sensor.c
b/server/sensor.c
index
ecbc584
..
c0c3ab1
100644
(file)
--- a/
server/sensor.c
+++ b/
server/sensor.c
@@
-296,7
+296,7
@@
void Sensor_Handler(FCGIContext *context, char * params)
}
}
- while (amount_read
> 0
);
+ while (amount_read
== SENSOR_QUERYBUFSIZ
);
pthread_mutex_unlock(&(sensor->mutex));
// end critical section
break;
UCC
git Repository :: git.ucc.asn.au