diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-29 14:46:47 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-29 14:46:47 +0300 |
commit | 6d5b0367f6e0035f99570b5bb76a75322ae9a85e (patch) | |
tree | 480293232f6d1801a7b7c0f4374f953fb4319159 /src/common/sandbox.h | |
parent | 8f9d3da19447f138bc451937b20537810926ff30 (diff) | |
download | tor-6d5b0367f6e0035f99570b5bb76a75322ae9a85e.tar.gz tor-6d5b0367f6e0035f99570b5bb76a75322ae9a85e.zip |
Changes as suggested by nickm
- char* to const char* and name refactoring
- workaround for accept4 syscall
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r-- | src/common/sandbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index c6d80659e3..9acf8c4a97 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -80,7 +80,7 @@ typedef struct pfd_elem sandbox_cfg_t; void sandbox_set_debugging_fd(int fd); int tor_global_sandbox(void); -char* get_prot_param(char *param); +const char* sandbox_intern_string(char *param); sandbox_cfg_t * sandbox_cfg_new(); int sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file); |