| 97 |
97 |
| 98 last_period = strrchr(filename, '.'); |
98 last_period = strrchr(filename, '.'); |
| 99 if (last_period == NULL) |
99 if (last_period == NULL) |
| 100 return FALSE; |
100 return FALSE; |
| 101 |
101 |
| 102 return !(strcmp(last_period, ".dll") & |
102 return !(!purple_strequal(last_period, ".dll") & |
| 103 strcmp(last_period, ".sl") & |
103 !purple_strequal(last_period, ".sl") & |
| 104 strcmp(last_period, ".so")); |
104 !purple_strequal(last_period, ".so")); |
| 105 } |
105 } |
| 106 |
106 |
| 107 static char * |
107 static char * |
| 108 purple_plugin_get_basename(const char *filename) |
108 purple_plugin_get_basename(const char *filename) |
| 109 { |
109 { |