]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/HttpReply.cc
MemBuf implements Packable interface
[thirdparty/squid.git] / src / HttpReply.cc
index b6fd2038c4c01eafd5bef27d1fd6a621eaf20c05..64b534b30e1f25845ac62440ae1617902e1b4d28 100644 (file)
@@ -127,11 +127,8 @@ MemBuf *
 HttpReply::pack()
 {
     MemBuf *mb = new MemBuf;
-    Packer p;
-
     mb->init();
-    packerToMemInit(&p, mb);
-    packInto(&p);
+    packInto(mb);
     return mb;
 }