Changeset d48c31a in nscp for modules/RemoteConfiguration/RemoteConfiguration.cpp
- Timestamp:
- 12/02/06 20:06:22 (6 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 2603350
- Parents:
- 0687108
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/RemoteConfiguration/RemoteConfiguration.cpp
r1a22e52 rd48c31a 121 121 int RemoteConfiguration::commandLineExec(const char* command,const unsigned int argLen,char** args) { 122 122 std::string str; 123 if ( stricmp(command, "setVariable") == 0) {123 if (_stricmp(command, "setVariable") == 0) { 124 124 setVariable(argLen, args, str); 125 } else if ( stricmp(command, "writeConf") == 0) {125 } else if (_stricmp(command, "writeConf") == 0) { 126 126 writeConf(argLen, args, str); 127 } else if ( stricmp(command, "getVariable") == 0) {127 } else if (_stricmp(command, "getVariable") == 0) { 128 128 setVariable(argLen, args, str); 129 } else if ( stricmp(command, "ini2reg") == 0) {129 } else if (_stricmp(command, "ini2reg") == 0) { 130 130 std::cout << "Migrating to registry settings..."<< std::endl; 131 131 NSCModuleHelper::ReadSettings(NSCAPI::settings_inifile); … … 134 134 NSCModuleHelper::SetSettingsInt(MAIN_SECTION_TITLE, MAIN_USEREG, 1); 135 135 NSCModuleHelper::WriteSettings(NSCAPI::settings_registry); 136 } else if ( stricmp(command, "reg2ini") == 0) {136 } else if (_stricmp(command, "reg2ini") == 0) { 137 137 std::cout << "Migrating to INI file settings..."<< std::endl; 138 138 NSCModuleHelper::ReadSettings(NSCAPI::settings_registry);
Note: See TracChangeset
for help on using the changeset viewer.








