changeset 18973:28673b6fb8a2

- Fix some errors and return values
author William Ehlhardt <williamehlhardt@gmail.com>
date Thu, 28 Jun 2007 23:24:30 +0000
parents 486563a6bb5c
children 6b7c234b4984
files libpurple/certificate.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Thu Jun 28 23:22:27 2007 +0000
+++ b/libpurple/certificate.c	Thu Jun 28 23:24:30 2007 +0000
@@ -321,7 +321,8 @@
 {
 	if (NULL == scheme) {
 		purple_debug_warning("certificate",
-				     "Attempting to unregister NULL scheme");
+				     "Attempting to unregister NULL scheme\n");
+		return FALSE;
 	}
 
 	/* TODO: signalling? */
@@ -386,7 +387,8 @@
 {
 	if (NULL == vr) {
 		purple_debug_warning("certificate",
-				     "Attempting to unregister NULL verifier");
+				     "Attempting to unregister NULL verifier\n");
+		return FALSE;
 	}
 
 	/* TODO: signalling? */