mirror of git://git.gnupg.org/gnupg.git
dirmngr: Fix commit de6d8313
* dirmngr/http-common.c (get_default_keyserver): Fix assert.
--
Fixes-commit: de6d8313f6
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f9acc7d18b
commit
67c203b6bf
|
@ -44,7 +44,7 @@ get_default_keyserver (int name_only)
|
|||
log_assert (result && strlen (result) > 3);
|
||||
result += 3;
|
||||
/* Assert that there is no port given. */
|
||||
log_assert (strchr (result, ':'));
|
||||
log_assert (!strchr (result, ':'));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue