Ignore:
Timestamp:
12/02/06 20:06:22 (6 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
2603350
Parents:
0687108
Message:

New build enviornment (static) to work with NT4 and w2k3 and hopefully everything else.
Also fixed the "broken password" issue..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/RemoteConfiguration/RemoteConfiguration.cpp

    r1a22e52 rd48c31a  
    121121int RemoteConfiguration::commandLineExec(const char* command,const unsigned int argLen,char** args) { 
    122122  std::string str; 
    123   if (stricmp(command, "setVariable") == 0) { 
     123  if (_stricmp(command, "setVariable") == 0) { 
    124124    setVariable(argLen, args, str); 
    125   } else if (stricmp(command, "writeConf") == 0) { 
     125  } else if (_stricmp(command, "writeConf") == 0) { 
    126126    writeConf(argLen, args, str); 
    127   } else if (stricmp(command, "getVariable") == 0) { 
     127  } else if (_stricmp(command, "getVariable") == 0) { 
    128128    setVariable(argLen, args, str); 
    129   } else if (stricmp(command, "ini2reg") == 0) { 
     129  } else if (_stricmp(command, "ini2reg") == 0) { 
    130130    std::cout << "Migrating to registry settings..."<< std::endl; 
    131131    NSCModuleHelper::ReadSettings(NSCAPI::settings_inifile); 
     
    134134    NSCModuleHelper::SetSettingsInt(MAIN_SECTION_TITLE, MAIN_USEREG, 1); 
    135135    NSCModuleHelper::WriteSettings(NSCAPI::settings_registry); 
    136   } else if (stricmp(command, "reg2ini") == 0) { 
     136  } else if (_stricmp(command, "reg2ini") == 0) { 
    137137    std::cout << "Migrating to INI file settings..."<< std::endl; 
    138138    NSCModuleHelper::ReadSettings(NSCAPI::settings_registry); 
Note: See TracChangeset for help on using the changeset viewer.