From c7a058960e8e2902c239866aaab6a1d31f7bcf78 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Wed, 1 May 2013 09:31:31 +0200 Subject: [PATCH] Fixed a minor bug in DTP2 Output --- lib/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/json.cpp b/lib/json.cpp index d61111a3..1322c739 100644 --- a/lib/json.cpp +++ b/lib/json.cpp @@ -479,7 +479,7 @@ void JSON::Value::netPrepare(){ int packID = -1; long long unsigned int time = objVal["time"].asInt(); std::string dataType; - if (isMember("datatype")){ + if (isMember("datatype") || isMember("trackid")){ dataType = objVal["datatype"].asString(); if (isMember("trackid")){ packID = objVal["trackid"].asInt();