--- smsdaemon/util.cpp 2008/06/15 16:05:14 79 +++ smsdaemon/util.cpp 2008/06/15 18:57:00 80 @@ -191,10 +191,10 @@ command << "wget -O " << tempfile << " --tries=1 --timeout=15 -o /dev/null \"" << url << "\""; int res = system( command.str().c_str() ); -/* if (res) + if (res>0) { throw std::runtime_error("Command time out"); - }*/ + } ifstream in( tempfile.c_str() );