comparison libpurple/protocols/sametime/sametime.c @ 26048:25e2ab1fff1d

propagate from branch 'im.pidgin.pidgin' (head dd7a36be12180dba9663c2b740553e89711d7644) to branch 'im.pidgin.pidgin.vv' (head 2149cf9a6d4604f6e78ed9a2bdb0bbc3d6041a36)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 06 Dec 2008 02:23:20 +0000
parents adf153852bcf f10aba5592c6
children 68f4edb42f39
comparison
equal deleted inserted replaced
26046:99055b8db16b 26048:25e2ab1fff1d
4413 4413
4414 if(results) 4414 if(results)
4415 res = results->data; 4415 res = results->data;
4416 4416
4417 if(!code && res && res->matches) { 4417 if(!code && res && res->matches) {
4418 if(g_list_length(res->matches) == 1) { 4418 if(!res->matches->next) {
4419 struct mwResolveMatch *match = res->matches->data; 4419 struct mwResolveMatch *match = res->matches->data;
4420 4420
4421 /* only one? that might be the right one! */ 4421 /* only one? that might be the right one! */
4422 if(strcmp(res->name, match->id)) { 4422 if(strcmp(res->name, match->id)) {
4423 /* uh oh, the single result isn't identical to the search 4423 /* uh oh, the single result isn't identical to the search