aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/e-cert-selector.c
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui/e-cert-selector.c')
-rw-r--r--smime/gui/e-cert-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smime/gui/e-cert-selector.c b/smime/gui/e-cert-selector.c
index 8935c9698e..f9ca319509 100644
--- a/smime/gui/e-cert-selector.c
+++ b/smime/gui/e-cert-selector.c
@@ -84,7 +84,7 @@ ecs_find_current(ECertSelector *ecs)
node = CERT_LIST_NEXT(node);
}
- g_assert(!CERT_LIST_END(node, p->certlist));
+ g_return_val_if_fail (!CERT_LIST_END(node, p->certlist), NULL);
return node;
}