Skip to content

Commit 382853a

Browse files
CHANGE: fix typo indefenitly=>indefenitely
1 parent c09cf78 commit 382853a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/gxs/rsgenexchange.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3132,7 +3132,7 @@ void RsGenExchange::processRecvdMessages()
31323132

31333133
// (cyril) Normally we should discard posts that are older than the sync request. But that causes a problem because
31343134
// RsGxsNetService requests posts to sync by chunks of 20. So if the 20 are discarded, they will be re-synced next time, and the sync process
3135-
// will indefinitly loop on the same 20 posts. Since the posts are there already, keeping them is the least problematique way to fix this problem.
3135+
// will indefinitely loop on the same 20 posts. Since the posts are there already, keeping them is the least problematique way to fix this problem.
31363136
//
31373137
// uint32_t max_sync_age = ( mNetService != NULL)?( mNetService->getSyncAge(msg->metaData->mGroupId)):RS_GXS_DEFAULT_MSG_REQ_PERIOD;
31383138
//

src/gxs/rsgxsnetservice.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ std::error_condition RsGxsNetService::checkUpdatesFromPeers(
719719
if(keep_delay > 0 && req_delay > 0 && keep_delay < req_delay)
720720
req_delay = keep_delay ;
721721

722-
// The last post will be set to TS 0 if the req delay is 0, which means "Indefinitly"
722+
// The last post will be set to TS 0 if the req delay is 0, which means "Indefinitely"
723723

724724
if(req_delay > 0)
725725
msg->createdSinceTS = std::max(0,(int)time(NULL) - req_delay);

src/retroshare/rshistory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class RsHistory
153153
/*!
154154
* @brief Sets the maximum number of messages to save
155155
* @param[in] chat_type Type of chat for that number limit
156-
* @param[in] count Max umber of messages, 0 meaning indefinitly
156+
* @param[in] count Max umber of messages, 0 meaning indefinitely
157157
*/
158158
virtual void setSaveCount(uint32_t chat_type, uint32_t count) = 0;
159159
};

src/tests/network_simulator/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Unsolved questions:
3737
* should we send ACKs everywhere even upward? No, if we severely limit the depth of random walk.
3838
* better distribute routing events, so that the matrix gets filled better?
3939
* find a strategy to avoid storing too many items
40-
* how to handle cases where a ACK cannot be sent back? The previous peer is going to try indefinitly?
40+
* how to handle cases where a ACK cannot be sent back? The previous peer is going to try indefinitely?
4141
=> the ACK will be automatically collected by another route!
4242
* how to make sure ACKed messages are not stored any longer than necessary?
4343
* send signed ACKs, so that the receiver cannot be spoofed.

0 commit comments

Comments
 (0)