Skip to content

Commit

Permalink
adjust text
Browse files Browse the repository at this point in the history
  • Loading branch information
voipmonitor committed Aug 6, 2015
1 parent 6381741 commit a76aa2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcap_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3915,7 +3915,7 @@ void *PcapQueue_readFromFifo::threadFunction(void *arg, unsigned int arg2) {
time_t actualTimeSec = time(NULL);
time_t sensorTimeSec = stringToTime(sensorTime.c_str());
if(abs(actualTimeSec % 3600 - sensorTimeSec % 3600) > 1) {
syslog(LOG_ERR, "different time between receiver (%s) and sensor %i (%s) - sensor disconnect",
syslog(LOG_ERR, "sensor is not allowed to connect because of different time between receiver (%s) and sensor %i (%s) - please synchronize clocks on both server ",
sqlDateTimeString(actualTimeSec).c_str(),
sensorId,
sensorTime.c_str());
Expand Down

0 comments on commit a76aa2b

Please sign in to comment.