/[projects]/smsdaemon/embedded-http/embeddedhttp.cpp
ViewVC logotype

Diff of /smsdaemon/embedded-http/embeddedhttp.cpp

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

revision 694 by torben, Thu Apr 29 18:04:10 2010 UTC revision 695 by torben, Thu Apr 29 18:18:18 2010 UTC
# Line 62  void show_log(struct mg_connection *conn Line 62  void show_log(struct mg_connection *conn
62          mg_printf(conn, "%s", "HTTP/1.1 200 OK\r\n");          mg_printf(conn, "%s", "HTTP/1.1 200 OK\r\n");
63          mg_printf(conn, "%s", "Content-Type: text/plain\r\n\r\n");          mg_printf(conn, "%s", "Content-Type: text/plain\r\n\r\n");
64    
65          for (unsigned i=0; i<Logger::logBuffer.size(); i++) {          mg_printf(conn, "%s", Logger::getLog().c_str() );
                 mg_printf(conn, "%s", Logger::logBuffer[i].c_str() );  
         }  
66  }  }
67    
68  void EmbeddedHttp::startServer() {  void EmbeddedHttp::startServer() {

Legend:
Removed from v.694  
changed lines
  Added in v.695

  ViewVC Help
Powered by ViewVC 1.1.20