Fix broken sipe_ht_equals_nick()
commita3bffd8db27d1d2a3b6d1f093c4ced034bfe39c4
authorAnibal Avelar <aavelar@cofradia.org>
Mon, 28 Jun 2010 05:25:42 +0000 (28 00:25 -0500)
committerAnibal Avelar <aavelar@cofradia.org>
Mon, 28 Jun 2010 05:25:42 +0000 (28 00:25 -0500)
tree8342843b66095ec86ec85ae3b7620e3bc8e7336a
parent11bc71b3ab12bad4a90b425aa060ff471b4d741f
Fix broken sipe_ht_equals_nick()

In commit 99cd5c6ab1c4fe3007d3a4603dadad905359ae75 I replaced purple util.h
functions for the core cleanup. Unfortunately there was a typo in the hash
table string compare function which caused only the second string to be
compared to itself, i.e. the function always returned TRUE. This of course
causes havoc for the hash table functionality.

The broken hash table functionality was noticed by a RHEL5 user. On that
platform the hash bucket size seems to be smaller and thus the broken
broken behaviour more likely.

The broken code has been in the 1.10.0 release. As it affects the buddy list
it could be the root cause for some of the "buddy appears offline" reports.
src/core/sipe.c