Browse Source

fixed compilation error

pull/11/merge
orignal 11 years ago
parent
commit
460d4e754e
  1. 4
      i2p.cpp

4
i2p.cpp

@ -1,6 +1,6 @@
#include <iostream> #include <iostream>
#include <thread>
#include <cryptopp/integer.h> #include <cryptopp/integer.h>
#include <boost/thread.hpp>
#include "Log.h" #include "Log.h"
#include "base64.h" #include "base64.h"
#include "Transports.h" #include "Transports.h"
@ -20,7 +20,7 @@ int main( int, char** )
i2p::transports.Start (); i2p::transports.Start ();
i2p::tunnel::tunnels.Start (); i2p::tunnel::tunnels.Start ();
boost::this_thread::sleep(boost::posix_time::seconds(1000)); std::this_thread::sleep_for (std::chrono::seconds(10000));
i2p::tunnel::tunnels.Stop (); i2p::tunnel::tunnels.Stop ();
i2p::transports.Stop (); i2p::transports.Stop ();
i2p::data::netdb.Stop (); i2p::data::netdb.Stop ();

Loading…
Cancel
Save