diff libpurple/certificate.c @ 18960:6831c126bcf3

- Fixed an inverted assertion
author William Ehlhardt <williamehlhardt@gmail.com>
date Wed, 27 Jun 2007 01:09:43 +0000
parents 9205841eed06
children fcd05c39803e
line wrap: on
line diff
--- a/libpurple/certificate.c	Wed Jun 27 00:22:40 2007 +0000
+++ b/libpurple/certificate.c	Wed Jun 27 01:09:43 2007 +0000
@@ -60,7 +60,7 @@
 
 	/* Check that at least the first cert in the chain matches the
 	   Verifier scheme */
-	g_return_if_fail(scheme !=
+	g_return_if_fail(scheme ==
 			 ((PurpleCertificate *) (cert_chain->data))->scheme);
 
 	/* Construct and fill in the request fields */