/[projects]/smsdaemon/plugins/ShellExecPlugin.cpp
ViewVC logotype

Diff of /smsdaemon/plugins/ShellExecPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 37 by torben, Tue Jun 10 14:38:59 2008 UTC revision 38 by torben, Tue Jun 10 20:25:15 2008 UTC
# Line 12  ShellExecPlugin::ShellExecPlugin(std::st Line 12  ShellExecPlugin::ShellExecPlugin(std::st
12  void ShellExecPlugin::Execute(GsmModem& modem, SMS& sms)  void ShellExecPlugin::Execute(GsmModem& modem, SMS& sms)
13  {  {
14          std::string parameters = GetSmsData(sms);          std::string parameters = GetSmsData(sms);
15          Util::str_clean(&parameters,";");          parameters = Util::str_replace(parameters,";");
16    
17          std::string command = _exeCommand + " " + parameters;          std::string command = _exeCommand + " " + parameters;
18          int retval = ::system( command.c_str()  );          int retval = ::system( command.c_str()  );

Legend:
Removed from v.37  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.20