Extend the pattern for recognizing booster libraries

pull/1/head
John Brooks 13 years ago
parent adef09cd6f
commit e5db280ce4

@ -377,7 +377,7 @@ void Daemon::loadSingleInstancePlugin()
void Daemon::loadBoosterPlugins() void Daemon::loadBoosterPlugins()
{ {
const char* PATTERN = "lib*booster.so"; const char* PATTERN = "lib*booster*.so";
const unsigned int BUF_LEN = 256; const unsigned int BUF_LEN = 256;
if (strlen(PATTERN) + strlen(BOOSTER_PLUGIN_DIR) + 2 > BUF_LEN) if (strlen(PATTERN) + strlen(BOOSTER_PLUGIN_DIR) + 2 > BUF_LEN)

Loading…
Cancel
Save