changeset 19552:c35c3c3fc4cf

refcount of 0 is normal
author Mark Doliner <mark@kingant.net>
date Thu, 30 Aug 2007 07:53:41 +0000
parents ce3dec442fec
children f36d0d2bf6f2
files libpurple/plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c	Thu Aug 30 07:40:27 2007 +0000
+++ b/libpurple/plugins/ssl/ssl-gnutls.c	Thu Aug 30 07:53:41 2007 +0000
@@ -428,7 +428,7 @@
 {
 	(cd->refcount)--;
 
-	if (cd->refcount <= 0)
+	if (cd->refcount < 0)
 		g_critical("Refcount of x509_crtdata_t is %d, which is less "
 				"than zero!\n", cd->refcount);