aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-httpstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/cli/tap-httpstat.c')
-rw-r--r--ui/cli/tap-httpstat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c
index 6b7334b223..294493348e 100644
--- a/ui/cli/tap-httpstat.c
+++ b/ui/cli/tap-httpstat.c
@@ -293,11 +293,7 @@ httpstat_init(const char *opt_arg, void *userdata _U_)
}
sp = g_new(httpstat_t, 1);
- if (filter) {
- sp->filter = g_strdup(filter);
- } else {
- sp->filter = NULL;
- }
+ sp->filter = g_strdup(filter);
/*g_hash_table_foreach(http_status, (GHFunc)http_reset_hash_responses, NULL);*/