diff options
author | John Langford <jl@hunch.net> | 2009-08-23 00:07:02 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2009-08-23 00:07:02 +0400 |
commit | 848527b1e758755879d27deebdb45ef4251acf1e (patch) | |
tree | 725eaa75b4a3daad2a7755648e9a2beaa1d6f5b7 /sender.cc | |
parent | c29c0673e41581989bd515014a0581c7fb2018c7 (diff) |
Made binary mode sending work.
Diffstat (limited to 'sender.cc')
-rw-r--r-- | sender.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -91,7 +91,7 @@ void open_sockets(vector<string>& hosts) void parse_send_args(po::variables_map& vm, vector<string> pairs) { - if (vm.count("send_to")) + if (vm.count("sendto")) { if (pairs.size() > 0) { @@ -102,7 +102,7 @@ void parse_send_args(po::variables_map& vm, vector<string> pairs) second_of_pair[(int)(*i)[1]] = true; } - vector<string> hosts = vm["send_to"].as< vector<string> >(); + vector<string> hosts = vm["sendto"].as< vector<string> >(); find_split(hosts.size()); open_sockets(hosts); } @@ -135,6 +135,7 @@ void* send_thread(void*) send_features(i,j,bufs[i][j],ec); } } + return NULL; } |