Refactored plugin names #4866

This commit is contained in:
Jerry (Xinyu Hou)
2015-07-24 13:17:18 -07:00
parent b105bc8f42
commit 945ccfdb75
6 changed files with 20 additions and 18 deletions

View File

@@ -32,7 +32,6 @@ SecureSocket* g_secureSocket = NULL;
SecureListenSocket* g_secureListenSocket = NULL;
Arch* g_arch = NULL;
Log* g_log = NULL;
static const char kPluginName[] = "ns";
std::string
helperGetLibsUsed(void)
@@ -107,7 +106,7 @@ invoke(const char* command, void** args)
}
}
else if (strcmp(command, "version") == 0) {
return (void*)getExpectedPluginVersion(kPluginName);
return (void*)getExpectedPluginVersion(s_pluginNames[kSecureSocket]);
}
return NULL;