From: <fac...@us...> - 2006-11-26 20:45:32
|
Revision: 17822 http://svn.sourceforge.net/gaim/?rev=17822&view=rev Author: faceprint Date: 2006-11-26 12:45:29 -0800 (Sun, 26 Nov 2006) Log Message: ----------- found this while setting up a unit testing framework (we're already reaping the benefits) Modified Paths: -------------- trunk/libgaim/util.c Modified: trunk/libgaim/util.c =================================================================== --- trunk/libgaim/util.c 2006-11-26 19:49:14 UTC (rev 17821) +++ trunk/libgaim/util.c 2006-11-26 20:45:29 UTC (rev 17822) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |