aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr/http-common.c')
-rw-r--r--dirmngr/http-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/http-common.c b/dirmngr/http-common.c
index 6013669b3..3b6cd44c7 100644
--- a/dirmngr/http-common.c
+++ b/dirmngr/http-common.c
@@ -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;
}