Skip to content
Snippets Groups Projects
Commit a204ebd8 authored by Miller, Ross's avatar Miller, Ross
Browse files

Fix clang-format complaints

Fixed a couple of minor formatting issues.

Refs #20681
parent e149a937
No related branches found
No related tags found
No related merge requests found
......@@ -773,15 +773,15 @@ bool SNSLiveEventDataListener::rxPacket(const ADARA::RunStatusPkt &pkt) {
setRunDetails(pkt);
}
} else if (pkt.status() == ADARA::RunStatus::STATE && !haveRunNumber) {
// A packet status of STATE and no run number means we've just connected
// to the SMS. Specifically, this is the RunStatus packet that SMS
// initially sends out when a client hasn't set the flag to request
// historical data. We may or may not actually be in a run right now.
// If we are, then we need to set the run details. If not, there's
// nothing we need to do with this packet.
if (pkt.runNumber() != 0) {
setRunDetails(pkt);
}
// A packet status of STATE and no run number means we've just connected
// to the SMS. Specifically, this is the RunStatus packet that SMS
// initially sends out when a client hasn't set the flag to request
// historical data. We may or may not actually be in a run right now.
// If we are, then we need to set the run details. If not, there's
// nothing we need to do with this packet.
if (pkt.runNumber() != 0) {
setRunDetails(pkt);
}
}
// Note: all other possibilities for pkt.status() can be ignored
......@@ -1086,9 +1086,9 @@ bool SNSLiveEventDataListener::rxPacket(const ADARA::DeviceDescriptorPkt &pkt) {
prop = new TimeSeriesProperty<std::string>(pvName);
} else {
// invalid type string
g_log.warning() << "Ignoring process variable " << pvName
<< " because it had an unrecognized type ("
<< pvType << ").\n";
g_log.warning()
<< "Ignoring process variable " << pvName
<< " because it had an unrecognized type (" << pvType << ").\n";
}
if (prop) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment