aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-04-09 14:03:52 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-04-09 14:03:52 +0100
commitafbe428be49be19081a1cfbcc3ad48472222657a (patch)
tree8bf3f7ee86d49e2fdc6d896c31d1f66ee267c0a2
parentd48445eff776434f7f18e84d6a16fe6e91e98554 (diff)
downloadpaludis-afbe428be49be19081a1cfbcc3ad48472222657a.tar.gz
paludis-afbe428be49be19081a1cfbcc3ad48472222657a.tar.xz
Don't serialise twice
-rw-r--r--src/clients/cave/resolve_common.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index 76eeef8..3613c9d 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -1369,13 +1369,10 @@ namespace
if (program_options.a_execute_resolution_program.specified() || resolution_options.a_execute.specified())
{
- StringListStream ser_stream;
- Serialiser ser(ser_stream);
- resolution_lists->serialise(ser);
-
/* backgrounding this barfs with become_command. working out why could
* be a fun exercise for someone with way too much time on their hands.
* */
+ StringListStream ser_stream;
ser_thread_func(ser_stream, *resolution_lists);
std::string command;