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

Diff of /smsdaemon/plugins/TrainInfo.cpp

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

revision 217 by torben, Thu Dec 18 06:53:29 2008 UTC revision 218 by torben, Thu Mar 26 22:10:28 2009 UTC
# Line 102  vector<TrainInfo> GetTrainInfo(string st Line 102  vector<TrainInfo> GetTrainInfo(string st
102    
103                  TrainInfo info;                  TrainInfo info;
104    
105                  int start = pos+16;                  pos = html.find("<span", pos);
106    
107                    int start = pos;
108                  int stop = html.find("</td>", pos);                  int stop = html.find("</td>", pos);
109    
110                  info.time = html.substr(start, stop-start).c_str();                  info.time = html.substr(start, stop-start).c_str();

Legend:
Removed from v.217  
changed lines
  Added in v.218

  ViewVC Help
Powered by ViewVC 1.1.20