diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-14 16:17:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-14 16:17:59 +0000 |
commit | 6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac (patch) | |
tree | 5026d1469491de46164ebbc74dac1f7ba5b3cb08 /src/utils/kdig | |
parent | Releasing progress-linux version 3.3.5-1.1~progress7.99u1. (diff) | |
download | knot-6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac.tar.xz knot-6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac.zip |
Merging upstream version 3.3.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/utils/kdig')
-rw-r--r-- | src/utils/kdig/kdig_params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/kdig/kdig_params.c b/src/utils/kdig/kdig_params.c index 310e890..c8fd83f 100644 --- a/src/utils/kdig/kdig_params.c +++ b/src/utils/kdig/kdig_params.c @@ -1982,7 +1982,7 @@ static int parse_name(const char *value, list_t *queries, const query_t *conf) char *ascii_name = (char *)value; char *fqd_name = NULL; - if (value != NULL) { + if (value != NULL && value[0] != '\0') { if (conf->idn) { ascii_name = name_from_idn(value); if (ascii_name == NULL) { |