comparison libpurple/prpl.c @ 25918:bc8d1607f9b8

propagate from branch 'im.pidgin.pidgin' (head 566d2e86bfd45c806aba1b32d6f85a9a409ff9ea) to branch 'im.pidgin.pidgin.next.minor' (head ffd76856f93610f7cd6178e943d0b61e4220b549)
author Richard Laager <rlaager@wiktel.com>
date Mon, 26 Jan 2009 02:39:55 +0000
parents 94a6eb10c691
children 584063555949
comparison
equal deleted inserted replaced
25372:a8db457c421a 25918:bc8d1607f9b8
509 g_return_val_if_fail(id != NULL, NULL); 509 g_return_val_if_fail(id != NULL, NULL);
510 510
511 for (l = purple_plugins_get_protocols(); l != NULL; l = l->next) { 511 for (l = purple_plugins_get_protocols(); l != NULL; l = l->next) {
512 plugin = (PurplePlugin *)l->data; 512 plugin = (PurplePlugin *)l->data;
513 513
514 if (!strcmp(plugin->info->id, id)) 514 if (purple_strequal(plugin->info->id, id))
515 return plugin; 515 return plugin;
516 } 516 }
517 517
518 return NULL; 518 return NULL;
519 } 519 }