Mercurial > pidgin
comparison src/prpl.c @ 11948:fd456a3275a8
[gaim-migrate @ 14239]
This isn't necessary
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 02 Nov 2005 04:20:46 +0000 |
parents | 0d9c6d2ad64b |
children | 1d4fbf553ce2 |
comparison
equal
deleted
inserted
replaced
11947:fc8396a3fd5e | 11948:fd456a3275a8 |
---|---|
372 g_return_val_if_fail(id != NULL, NULL); | 372 g_return_val_if_fail(id != NULL, NULL); |
373 | 373 |
374 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { | 374 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { |
375 plugin = (GaimPlugin *)l->data; | 375 plugin = (GaimPlugin *)l->data; |
376 | 376 |
377 /* Just In Case (TM) */ | 377 if (!strcmp(plugin->info->id, id)) |
378 if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) { | 378 return plugin; |
379 if (!strcmp(plugin->info->id, id)) | |
380 return plugin; | |
381 } | |
382 } | 379 } |
383 | 380 |
384 return NULL; | 381 return NULL; |
385 } | 382 } |