changeset 15039:9a69964d8c18

[gaim-migrate @ 17822] found this while setting up a unit testing framework (we're already reaping the benefits) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 26 Nov 2006 20:45:29 +0000
parents a1138f266bb1
children ba149ceb20b7
files libgaim/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/util.c	Sun Nov 26 19:49:14 2006 +0000
+++ b/libgaim/util.c	Sun Nov 26 20:45:29 2006 +0000
@@ -118,7 +118,7 @@
 	len = strlen(str);
 
 	g_return_val_if_fail(strlen(str) > 0, 0);
-	g_return_val_if_fail(len % 2 > 0,       0);
+	g_return_val_if_fail(len % 2 == 0,    0);
 
 	data = g_malloc(len / 2);