Browse Source

doc: Fix typos

(cherry picked from commit 5497d15766d25625b4704a3bd3e884ef2f1149da)
Bastian Triller 3 years ago
parent
commit
6cb54c218a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      doc/misc/NEWS
  2. 2 2
      doc/tutorials/locking.txt

+ 1 - 1
doc/misc/NEWS

@@ -338,7 +338,7 @@ modules:
                           the retransmissions which would otherwise be 
                           the retransmissions which would otherwise be 
                           challenged). The major advantage is greatly 
                           challenged). The major advantage is greatly 
                           enhanced security (extremely small probability of
                           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 
                           for cached credentials (if the UAs do support qop 
                           and auth)
                           and auth)
                        - nc_array_size - size of the array used for storing
                        - nc_array_size - size of the array used for storing

+ 2 - 2
doc/tutorials/locking.txt

@@ -109,7 +109,7 @@ Locking & unlocking:
 void    lock_get(gen_lock_t* lock);      - lock (mutex down)
 void    lock_get(gen_lock_t* lock);      - lock (mutex down)
 void    lock_release(gen_lock_t* lock);  - unlock (mutex up)
 void    lock_release(gen_lock_t* lock);  - unlock (mutex up)
 int     lock_try(gen_lock_t* lock);      - tries to lock and returns 0 
 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())
                                            a non-blocking lock_get())
 
 
 
 
@@ -164,7 +164,7 @@ Locking & unlocking:
 void lock_set_get(lock_set_t* s, int i);
 void lock_set_get(lock_set_t* s, int i);
 void lock_set_release(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
 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.
                                                 returns 0, if not -1.
 
 
 Example:
 Example: