mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
dirmngr: Fix commit de6d8313
* dirmngr/http-common.c (get_default_keyserver): Fix assert. -- Fixes-commit: de6d8313f6df32aaa151bee74e1db269ac1e0fed 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…
x
Reference in New Issue
Block a user