commit | 9657bda55156db0f7ac4e7c08c2049ed84a2c936 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 16:23:41 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 16:23:41 2013 -0700 |
tree | c741b54c4a646af16714a41fab21b98ada2a0722 | |
parent | 0cb7aeeb83ef28d44c5745efb22e9a4c26dd2c1d [diff] [blame] |
Don't pass a Closure to the NDN constructor
diff --git a/ndn-cpp/NDN.cpp b/ndn-cpp/NDN.cpp index 5a3d829..20609fe 100644 --- a/ndn-cpp/NDN.cpp +++ b/ndn-cpp/NDN.cpp
@@ -18,6 +18,9 @@ vector<unsigned char> encoding; interest.encode(encoding); + // TODO: This should go in the PIT. + tempClosure_ = closure; + transport_->connect(*this); transport_->send(&encoding[0], encoding.size()); }