Revision a274da4f libpurple/plugin.c~

View differences:

libpurple/plugin.c~
1406 1406

  
1407 1407
		if (plugin->info->type == PURPLE_PLUGIN_LOADER)
1408 1408
		{
1409
			printf("Made it to the first if, maybe the problem\n");
1410 1409
			/* We'll just load this right now. */
1411 1410
			if (!purple_plugin_load(plugin))
1412 1411
			{
......
1426 1425
		}
1427 1426
		else if (plugin->info->type == PURPLE_PLUGIN_PROTOCOL)
1428 1427
		{
1429
			printf("Made it to the second if, please work\n");
1430 1428
			/* We'll just load this right now. */
1431 1429
			if (!purple_plugin_load(plugin))
1432 1430
			{
......
1434 1432

  
1435 1433
				continue;
1436 1434
			}
1437
			//temp_str_cmp_yj = strncmp(plugin->info->id,"prpl-yahoojp",15);
1438 1435
			/* Make sure we don't load two PRPLs with the same name? */
1439 1436
			if (purple_find_prpl(plugin->info->id))
1440 1437
			{
......
1447 1444
			protocol_plugins = g_list_insert_sorted(protocol_plugins, plugin,
1448 1445
													(GCompareFunc)compare_prpl);
1449 1446
			if((strncmp(plugin->info->id,"prpl-yahoojp",15)) == 0){
1450
				//printf("It made it here\n");
1451 1447
				protocol_plugins = g_list_remove(protocol_plugins, plugin);
1452 1448
			}
1453 1449
		}

Also available in: Unified diff