1
0
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:
Werner Koch 2017-03-03 17:17:08 +01:00
parent f9acc7d18b
commit 67c203b6bf
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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;
}