Sun, 29 Jun 2003 06:40:17 +0000
[gaim-migrate @ 6420]
This makes Gaim not crash when importing a .gaimrc file that contains
a perl script that does not exist. It might fix other related crashes--
I'm not really sure what uses gaim_plugin_probe, exactly.
Basically I added a check "if plugin file doesn't exist then do nothing"
| src/plugin.c | file | annotate | diff | comparison | revisions |
--- a/src/plugin.c Sun Jun 29 06:16:16 2003 +0000 +++ b/src/plugin.c Sun Jun 29 06:40:17 2003 +0000 @@ -183,6 +183,9 @@ g_return_val_if_fail(filename != NULL, NULL); + if (!g_file_test(filename, G_FILE_TEST_EXISTS)) + return NULL; + plugin = gaim_plugins_find_with_filename(filename); if (plugin != NULL)