Some c++ tricks. Not finished

diff --git a/model/ndn_stupidinterestgenerator.cc b/model/ndn_stupidinterestgenerator.cc
index 5bc1861..7c59f6c 100644
--- a/model/ndn_stupidinterestgenerator.cc
+++ b/model/ndn_stupidinterestgenerator.cc
@@ -163,8 +163,9 @@
         
         NameBuilder name;
 		name("prefix1")("prefix2")("filename");
+		
         const ccn_charbuf *output = name.GetName();
-        Ptr<InterestPacket> packet = Create<InterestPacket>(output->buf,(uint32_t)output->length);
+        Ptr<InterestPacket> packet = Create<InterestPacket>(name,(uint32_t)output->length);
         packet->AddTimeout(4000);
         UniformVariable var;
         packet->AddNonce(var.GetInteger(1,10000));