1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-22 05:49:50 +08:00

use mutexes also to protect the pipe communication

wasn't threadsafe before.
This commit is contained in:
rofl0r
2012-11-07 21:11:03 +01:00
Unverified
parent d0abc93c74
commit f570a66902
3 changed files with 30 additions and 18 deletions
+5 -1
View File
@@ -1,3 +1,6 @@
#ifndef COMMON_H
#define COMMON_H
#define PROXYCHAINS_CONF_FILE_ENV_VAR "PROXYCHAINS_CONF_FILE"
#define PROXYCHAINS_QUIET_MODE_ENV_VAR "PROXYCHAINS_QUIET_MODE"
#define PROXYCHAINS_CONF_FILE "proxychains.conf"
@@ -10,4 +13,5 @@
char *get_config_path(char* default_path, char* pbuf, size_t bufsize);
//RcB: DEP "common.c"
//RcB: DEP "common.c"
#endif