Changeset ba63b95 in nscp for service/NSClient++.cpp


Ignore:
Timestamp:
01/13/12 06:52:23 (17 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
35254d1
Parents:
7354aa1
Message:
  • Fixed issue with --submit command line option erroneusly reported missing optien (when it is not supported)
  • Added settings store "dummy" for people who dont want to store settings (long term use is for unit tests)
  • Added new option to NSCClient --source-host for settings the host name of the caller (your machine).
  • Change so enryption algorithms are case insensitevie (ie. 3DES and 3des both work)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • service/NSClient++.cpp

    ra87ce04 rba63b95  
    11781178int exec_helper(NSClientT::plugin_type plugin, std::wstring command, std::vector<std::wstring> arguments, std::string request, std::list<std::string> *responses) { 
    11791179  std::string response; 
     1180  if (!plugin || !plugin->has_command_line_exec()) 
     1181    return -1; 
    11801182  int ret = plugin->commandLineExec(command.c_str(), request, response); 
    11811183  if (ret != NSCAPI::returnIgnored && !response.empty()) 
Note: See TracChangeset for help on using the changeset viewer.