diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-21 11:26:42 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-21 11:26:42 +0200 |
commit | a0d83abee95e0ba7fcb882c970a76576cd3afb81 (patch) | |
tree | 06e3b53e32ce4eee61f6a2bd9c4dbaed6424323c /sensor/main | |
parent | 5dbc69fb16c71c02859ec8665c55a1e2b068ddd7 (diff) | |
download | ble-toys-a0d83abee95e0ba7fcb882c970a76576cd3afb81.tar.gz ble-toys-a0d83abee95e0ba7fcb882c970a76576cd3afb81.tar.bz2 ble-toys-a0d83abee95e0ba7fcb882c970a76576cd3afb81.tar.xz ble-toys-a0d83abee95e0ba7fcb882c970a76576cd3afb81.zip |
Fixing two bugs in mqtt-publish:
o The last character after EOF was parsed twice.
o Create a separate counter for unacked messages instead of checking want_write.
Diffstat (limited to 'sensor/main')
-rw-r--r-- | sensor/main/io.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sensor/main/io.cpp b/sensor/main/io.cpp index 6c384ff..74bc796 100644 --- a/sensor/main/io.cpp +++ b/sensor/main/io.cpp @@ -71,7 +71,6 @@ void ThreadSafeSampleOutputStream::write(SampleRecord const &sample) { underlying->write(sample); } - AddTimestampSampleOutputStream::AddTimestampSampleOutputStream(unique_ptr<SampleOutputStream> underlying, KeyDictionary &dict, const string ×tamp_name) : underlying_(move(underlying)), timestamp_key(dict.indexOf(timestamp_name)) { |