about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-10-24 15:46:26 -0500
committerMarco Peereboom <marco@conformal.com>2011-10-24 15:46:26 -0500
commit55881f1ba10c03cb41c1c87306aec79d124fdabd (patch)
tree611f76c1f41f6aba1efa28c2cdaef21ac4a1e971
parentd6d4dbed7855ba747736947bad30b984a4dccb33 (diff)
downloadxombrero-55881f1ba10c03cb41c1c87306aec79d124fdabd.tar.gz
Don't display empty errors on cert save
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 8cb9e75..02b5d66 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -3800,7 +3800,7 @@ done:
 	if (s != -1)
 		close(s);
 	stop_tls(gsession, xcred);
-	if (error_str)
+	if (error_str && strlen(error_str))
 		show_oops(t, "%s", error_str);
 	return (0);
 }