typo: handle_quit -> handle_quiet
This commit is contained in:
parent
69b5766782
commit
c29336ea81
2 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ SRCS = $(SRC_DIR)/main.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_flood.c \
|
$(SRC_DIR)/cli/handlers/handle_flood.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_help.c \
|
$(SRC_DIR)/cli/handlers/handle_help.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_interval.c \
|
$(SRC_DIR)/cli/handlers/handle_interval.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_quit.c \
|
$(SRC_DIR)/cli/handlers/handle_quiet.c \
|
||||||
$(SRC_DIR)/cli/handlers/handler_map.c \
|
$(SRC_DIR)/cli/handlers/handler_map.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_size.c \
|
$(SRC_DIR)/cli/handlers/handle_size.c \
|
||||||
$(SRC_DIR)/cli/handlers/handle_timeout.c \
|
$(SRC_DIR)/cli/handlers/handle_timeout.c \
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
#include "ft_ping.h"
|
#include "ft_ping.h"
|
||||||
|
#include "ft_ping_flags.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
cli_handle_quiet(const char *arg, t_ping_config *config)
|
cli_handle_quiet(const char *arg, t_ping_config *config)
|
||||||
{
|
{
|
||||||
(void)arg;
|
(void)arg;
|
||||||
(void)config;
|
SET_FLAG(config->flags, FLAG_QUIET);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue