mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Appease "make check-spaces"
This commit is contained in:
parent
d3653063d3
commit
263d68aa82
2 changed files with 5 additions and 4 deletions
|
@ -1054,14 +1054,14 @@ fetch_var_cell_from_buf(buf_t *buf, var_cell_t **out, int linkproto)
|
|||
#ifdef USE_BUFFEREVENTS
|
||||
/** Try to read <b>n</b> bytes from <b>buf</b> at <b>pos</b> (which may be
|
||||
* NULL for the start of the buffer), copying the data only if necessary. Set
|
||||
* *<b>data_out</b> to a pointer to the desired bytes. Set <b>free_out</b> to 1
|
||||
* if we needed to malloc *<b>data</b> because the original bytes were
|
||||
* *<b>data_out</b> to a pointer to the desired bytes. Set <b>free_out</b>
|
||||
* to 1 if we needed to malloc *<b>data</b> because the original bytes were
|
||||
* noncontiguous; 0 otherwise. Return the number of bytes actually available
|
||||
* at *<b>data_out</b>.
|
||||
*/
|
||||
static ssize_t
|
||||
inspect_evbuffer(struct evbuffer *buf, char **data_out, size_t n, int *free_out,
|
||||
struct evbuffer_ptr *pos)
|
||||
inspect_evbuffer(struct evbuffer *buf, char **data_out, size_t n,
|
||||
int *free_out, struct evbuffer_ptr *pos)
|
||||
{
|
||||
int n_vecs, i;
|
||||
|
||||
|
|
|
@ -4166,3 +4166,4 @@ connection_free_all(void)
|
|||
bufferevent_rate_limit_group_free(global_rate_limit);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue