nfqws,tpws : rename function

This commit is contained in:
bol-van
2025-03-12 13:03:33 +03:00
parent 644a934099
commit 08a6e8e069
8 changed files with 6 additions and 6 deletions

View File

@@ -383,7 +383,7 @@ bool pf_is_empty(const port_filter *pf)
return !pf->neg && !pf->from && !pf->to;
}
void disable_console_io_buffering(void)
void set_console_io_buffering(void)
{
setvbuf(stdout, NULL, _IOLBF, 0);
setvbuf(stderr, NULL, _IOLBF, 0);

View File

@@ -82,7 +82,7 @@ bool pf_in_range(uint16_t port, const port_filter *pf);
bool pf_parse(const char *s, port_filter *pf);
bool pf_is_empty(const port_filter *pf);
void disable_console_io_buffering(void);
void set_console_io_buffering(void);
bool set_env_exedir(const char *argv0);
#ifndef IN_LOOPBACK

View File

@@ -1707,7 +1707,7 @@ int main(int argc, char *argv[])
struct salisten_s list[MAX_BINDS];
char ip_port[48];
disable_console_io_buffering();
set_console_io_buffering();
set_env_exedir(argv[0]);
srand(time(NULL));
mask_from_preflen6_prepare();