Commit ba5f5c9e authored by Axel Auweter's avatar Axel Auweter
Browse files

Make use of optimized C API in MontBlanc Plugin. (ticket #45)

parent 8377747d
......@@ -27,6 +27,7 @@ typedef enum {
DCDB_C_SENSORNOTFOUND,
DCDB_C_EMPTYSET,
DCDB_C_NOTINTEGRABLE,
DCDB_C_NOSENSOR,
DCDB_C_UNKNOWN
} DCDB_C_RESULT;
......
......@@ -308,6 +308,10 @@ DCDB_C_RESULT dcdbQuerySumMultipleThreaded(
{
unsigned int i;
if (sensorPublicNameLength == 0) {
return DCDB_C_NOSENSOR;
}
DCDBTimeStamp startTs(start), endTs(end);
*result = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment