mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
typos
This commit is contained in:
parent
9a6a8ea466
commit
10d385bd71
3 changed files with 3 additions and 4 deletions
|
@ -658,7 +658,7 @@ change_callback_log_severity(int loglevelMin, int loglevelMax,
|
||||||
UNLOCK_LOGS();
|
UNLOCK_LOGS();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** If there are any log messages that were genered with LD_NOCB waiting to
|
/** If there are any log messages that were generated with LD_NOCB waiting to
|
||||||
* be sent to callback-based loggers, send them now. */
|
* be sent to callback-based loggers, send them now. */
|
||||||
void
|
void
|
||||||
flush_pending_log_callbacks(void)
|
flush_pending_log_callbacks(void)
|
||||||
|
|
|
@ -137,8 +137,7 @@ struct mp_chunk_t {
|
||||||
int capacity; /**< Number of items that can be fit into this chunk. */
|
int capacity; /**< Number of items that can be fit into this chunk. */
|
||||||
size_t mem_size; /**< Number of usable bytes in mem. */
|
size_t mem_size; /**< Number of usable bytes in mem. */
|
||||||
char *next_mem; /**< Pointer into part of <b>mem</b> not yet carved up. */
|
char *next_mem; /**< Pointer into part of <b>mem</b> not yet carved up. */
|
||||||
/** Storage for this chunk */
|
char mem[FLEXIBLE_ARRAY_MEMBER]; /**< Storage for this chunk. */
|
||||||
char mem[FLEXIBLE_ARRAY_MEMBER];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Number of extra bytes needed beyond mem_size to allocate a chunk. */
|
/** Number of extra bytes needed beyond mem_size to allocate a chunk. */
|
||||||
|
|
|
@ -1660,7 +1660,7 @@ typedef struct short_policy_t {
|
||||||
unsigned int is_accept : 1;
|
unsigned int is_accept : 1;
|
||||||
/** The actual number of values in 'entries'. */
|
/** The actual number of values in 'entries'. */
|
||||||
unsigned int n_entries : 31;
|
unsigned int n_entries : 31;
|
||||||
/** An array of 0 or more short_policy_entry_t values, each descriping a
|
/** An array of 0 or more short_policy_entry_t values, each describing a
|
||||||
* range of ports that this policy accepts or rejects (depending on the
|
* range of ports that this policy accepts or rejects (depending on the
|
||||||
* value of is_accept).
|
* value of is_accept).
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue