diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-21 17:57:31 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-21 17:57:31 +0200 |
commit | d2e8f4fab19d76e2f00ddbaca0c78ee1276651a6 (patch) | |
tree | 22bc66b8ba0d4af7f54f5b0c856ee1851a128108 /metawatch/metawatch.cpp | |
parent | 6df11eb1581441e45d18728baf066aa5136042ae (diff) | |
download | sowatch-d2e8f4fab19d76e2f00ddbaca0c78ee1276651a6.tar.gz sowatch-d2e8f4fab19d76e2f00ddbaca0c78ee1276651a6.zip |
verified that proto still matches with proto docs
Diffstat (limited to 'metawatch/metawatch.cpp')
-rw-r--r-- | metawatch/metawatch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/metawatch/metawatch.cpp b/metawatch/metawatch.cpp index dc30c8b..a4692e5 100644 --- a/metawatch/metawatch.cpp +++ b/metawatch/metawatch.cpp @@ -571,6 +571,10 @@ void MetaWatch::handleNvalOperationMessage(const Message& msg) { Q_ASSERT(msg.type == NvalOperationResponse); + // Nval operation response packet format is: + // 2 bytes for id + // Rest for contents + if (msg.data.size() < 2) { qWarning() << "NVAL operation response too short"; } |