commit | 05d5fcf0bbf0490f201dd7021138160c39ebca4a | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Tue Apr 15 14:58:45 2014 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Tue Apr 15 14:58:45 2014 -0500 |
tree | 874b5fd29f8628dc7f4c0e8fe08d1442546033fa | |
parent | e14bc49752dd1c4c5c573deae8ebf5550a62ddc9 [diff] [blame] |
Fixing Coding Style
diff --git a/nsync/src/sync-socket.cc b/nsync/src/sync-socket.cc index db51ce2..bd4c0e4 100644 --- a/nsync/src/sync-socket.cc +++ b/nsync/src/sync-socket.cc
@@ -56,7 +56,7 @@ { shared_ptr<Data> data = make_shared<Data>(); data->setContent(reinterpret_cast<const uint8_t*>(buf), len); - data->setFreshnessPeriod(1000*freshness); + data->setFreshnessPeriod(time::seconds(freshness)); m_ioService->post(bind(&SyncSocket::publishDataInternal, this, data, prefix, session,seq));