Skip to content

Commit

Permalink
doc: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
btriller authored and henningw committed May 8, 2022
1 parent 543cd8f commit 5497d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ modules:
the retransmissions which would otherwise be
challenged). The major advantage is greatly
enhanced security (extremely small probability of
a succesfull replay attack) combine with support
a successful replay attack) combine with support
for cached credentials (if the UAs do support qop
and auth)
- nc_array_size - size of the array used for storing
Expand Down
4 changes: 2 additions & 2 deletions doc/tutorials/locking.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Locking & unlocking:
void lock_get(gen_lock_t* lock); - lock (mutex down)
void lock_release(gen_lock_t* lock); - unlock (mutex up)
int lock_try(gen_lock_t* lock); - tries to lock and returns 0
if succesfull, -1 if not (this is
if successful, -1 if not (this is
a non-blocking lock_get())


Expand Down Expand Up @@ -164,7 +164,7 @@ Locking & unlocking:
void lock_set_get(lock_set_t* s, int i);
void lock_set_release(lock_set_t* s, int i);
int lock_set_try(lock_set_t* s, int i); - tries to lock the i-th lock
from the set. If succesfull
from the set. If successful
returns 0, if not -1.

Example:
Expand Down

0 comments on commit 5497d15

Please sign in to comment.