Segment duration is now given in second and not tenths of a second.

Partially fixes issue #355
This commit is contained in:
DennisOSRM 2012-08-13 17:08:23 +02:00
parent 3f3da4ee0b
commit ebc3d09f0f

View File

@ -257,7 +257,7 @@ public:
intToString(prefixSumOfNecessarySegments, tmpLength);
reply.content += tmpLength;
reply.content += ",";
intToString(segment.duration, tmpDuration);
intToString(segment.duration/10, tmpDuration);
reply.content += tmpDuration;
reply.content += ",\"";
intToString(segment.length, tmpLength);