/[projects]/smsdaemon/Util.cpp
ViewVC logotype

Diff of /smsdaemon/Util.cpp

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

revision 79 by torben, Sun Jun 15 16:05:14 2008 UTC revision 80 by torben, Sun Jun 15 18:57:00 2008 UTC
# Line 191  namespace Util Line 191  namespace Util
191                  command << "wget -O " << tempfile << " --tries=1 --timeout=15 -o /dev/null  \"" << url << "\"";                  command << "wget -O " << tempfile << " --tries=1 --timeout=15 -o /dev/null  \"" << url << "\"";
192                  int res = system( command.str().c_str() );                  int res = system( command.str().c_str() );
193    
194  /*              if (res)                  if (res>0)
195                  {                  {
196                          throw std::runtime_error("Command time out");                          throw std::runtime_error("Command time out");
197                  }*/                  }
198    
199                  ifstream in( tempfile.c_str() );                  ifstream in( tempfile.c_str() );
200    

Legend:
Removed from v.79  
changed lines
  Added in v.80

  ViewVC Help
Powered by ViewVC 1.1.20