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:
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
1 changed files with 1 additions and 1 deletions

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