mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
nfqws,tpws: disallow optimizer to inline config_from_file
This commit is contained in:
@@ -982,7 +982,8 @@ bool parse_tlspos(const char *s, enum tlspos *pos)
|
||||
return true;
|
||||
}
|
||||
|
||||
static void config_from_file(const char *filename)
|
||||
// no static to not allow optimizer to inline this func (save stack)
|
||||
void config_from_file(const char *filename)
|
||||
{
|
||||
// config from a file
|
||||
char buf[MAX_CONFIG_FILE_SIZE];
|
||||
|
Reference in New Issue
Block a user