Rev 2087 | Rev 2216 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2087 | Rev 2090 | ||
|---|---|---|---|
| Line 237... | Line 237... | ||
| 237 | payload_str = static_cast<std::string*>(message->GetPayload().get()); |
237 | payload_str = static_cast<std::string*>(message->GetPayload().get()); |
| 238 | std::string line = *payload_str; |
238 | std::string line = *payload_str; |
| 239 | 239 | ||
| 240 | if (line.length() < 16) |
240 | if (line.length() < 16) |
| 241 | { |
241 | { |
| 242 | log::Error(log_module_, "Packet was to short: \"%s\".", line. |
242 | log::Error(log_module_, "Packet was to short: \"%s\", length was %u.", line.data(), line.length()); |
| 243 | return; |
243 | return; |
| 244 | } |
244 | } |
| 245 | 245 | ||
| 246 | 246 | ||
| 247 | common::Byteset data(17); |
247 | common::Byteset data(17); |