mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
trivial changes from my sandbox
svn:r10429
This commit is contained in:
parent
3562d2cb66
commit
b1ee20f0e8
@ -767,7 +767,7 @@ switch_id(const char *user, const char *group)
|
|||||||
|
|
||||||
#ifdef HAVE_PWD_H
|
#ifdef HAVE_PWD_H
|
||||||
/** Allocate and return a string containing the home directory for the
|
/** Allocate and return a string containing the home directory for the
|
||||||
* user <b>username</b>. Only works on posix-like systems */
|
* user <b>username</b>. Only works on posix-like systems. */
|
||||||
char *
|
char *
|
||||||
get_user_homedir(const char *username)
|
get_user_homedir(const char *username)
|
||||||
{
|
{
|
||||||
|
@ -1585,7 +1585,7 @@ parse_line_from_str(char *line, char **key_out, char **value_out)
|
|||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Expand any homedir prefix on 'filename'; return a newly allocated
|
/** Expand any homedir prefix on <b>filename</b>; return a newly allocated
|
||||||
* string. */
|
* string. */
|
||||||
char *
|
char *
|
||||||
expand_filename(const char *filename)
|
expand_filename(const char *filename)
|
||||||
|
@ -538,7 +538,7 @@ circuit_detach_stream(circuit_t *circ, edge_connection_t *conn)
|
|||||||
|
|
||||||
log_warn(LD_BUG,"Edge connection not in circuit's list.");
|
log_warn(LD_BUG,"Edge connection not in circuit's list.");
|
||||||
/* Don't give an error here; it's harmless. */
|
/* Don't give an error here; it's harmless. */
|
||||||
// tor_fragile_assert();
|
tor_fragile_assert();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Find each circuit that has been unused for too long, or dirty
|
/** Find each circuit that has been unused for too long, or dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user