diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
commit | c4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch) | |
tree | 93d5c6aa93d9987680dd1adad5685e2ad698f223 /ui/cli/tap-flow.c | |
parent | Adding upstream version 4.2.6. (diff) | |
download | wireshark-upstream.tar.xz wireshark-upstream.zip |
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/cli/tap-flow.c')
-rw-r--r-- | ui/cli/tap-flow.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/cli/tap-flow.c b/ui/cli/tap-flow.c index 32e0a94f..04111e25 100644 --- a/ui/cli/tap-flow.c +++ b/ui/cli/tap-flow.c @@ -46,16 +46,16 @@ flow_draw(void *arg) sequence_analysis_info_free(flow_info); } -static gboolean flow_arg_strncmp(const char **opt_argp, const char *strp) +static bool flow_arg_strncmp(const char **opt_argp, const char *strp) { size_t len = strlen(strp); if (strncmp(*opt_argp, strp, len) == 0) { *opt_argp += len; - return TRUE; + return true; } - return FALSE; + return false; } static void @@ -111,7 +111,7 @@ flow_register(const void *key _U_, void *value, void *userdata _U_) register_analysis_t* analysis = (register_analysis_t*)value; stat_tap_ui flow_ui; GString *cmd_str = g_string_new(STR_FLOW); - gchar *cli_string; + char *cli_string; g_string_append(cmd_str, sequence_analysis_get_name(analysis)); cli_string = g_string_free(cmd_str, FALSE); @@ -124,7 +124,7 @@ flow_register(const void *key _U_, void *value, void *userdata _U_) flow_ui.params = NULL; register_stat_tap_ui(&flow_ui, analysis); g_free(cli_string); - return FALSE; + return false; } void |