From ce52d9c6856229b7b4e9e07b8449f0b350575e03 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 26 Apr 2019 15:48:49 +0200 Subject: [PATCH] remove left-over, rendant, encoding of the info-dict in create_torrent::generate() --- src/create_torrent.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/create_torrent.cpp b/src/create_torrent.cpp index 3dd23fbc7..53228bba4 100644 --- a/src/create_torrent.cpp +++ b/src/create_torrent.cpp @@ -700,9 +700,6 @@ namespace { p.append(h.data(), h.size()); } - std::vector buf; - bencode(std::back_inserter(buf), info); - return dict; }