Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
f5f06343
Commit
f5f06343
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Fix stale comments (msg.offset became msg.idx_offset a couple years back).
parent
b8f1cb15
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!455
Update branch with changes from master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/smblib/smblib.c
+5
-5
5 additions, 5 deletions
src/smblib/smblib.c
with
5 additions
and
5 deletions
src/smblib/smblib.c
+
5
−
5
View file @
f5f06343
...
...
@@ -425,9 +425,9 @@ int smb_lockmsghdr(smb_t* smb, smbmsg_t* msg)
/****************************************************************************/
/* Fills msg->idx with message index based on msg->hdr.number */
/* OR if msg->hdr.number is 0, based on msg->offset (record offset).
*/
/* if msg.hdr.number does not equal 0, then msg->offset is filled too.
*/
/* Either msg->hdr.number or msg->offset must be initialized before
*/
/* OR if msg->hdr.number is 0, based on msg->
idx_
offset (record offset). */
/* if msg.hdr.number does not equal 0, then msg->
idx_
offset is filled too. */
/* Either msg->hdr.number or msg->
idx_
offset must be initialized before */
/* calling this function */
/****************************************************************************/
int
smb_getmsgidx
(
smb_t
*
smb
,
smbmsg_t
*
msg
)
...
...
@@ -1841,7 +1841,7 @@ uint16_t smb_voted_already(smb_t* smb, uint32_t msgnum, const char* name, enum s
/****************************************************************************/
/* Writes index information for 'msg' */
/* msg->idx */
/* and msg->offset must be set prior to calling to this function
*/
/* and msg->
idx_
offset must be set prior to calling to this function */
/* Returns 0 if everything ok */
/****************************************************************************/
int
smb_putmsgidx
(
smb_t
*
smb
,
smbmsg_t
*
msg
)
...
...
@@ -1889,7 +1889,7 @@ int smb_putmsgidx(smb_t* smb, smbmsg_t* msg)
/* Writes header information for 'msg' */
/* msg->hdr.length */
/* msg->idx.offset */
/* and msg->offset must be set prior to calling to this function
*/
/* and msg->
idx_
offset must be set prior to calling to this function */
/* Returns 0 if everything ok */
/****************************************************************************/
int
smb_putmsghdr
(
smb_t
*
smb
,
smbmsg_t
*
msg
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment