Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2009-08-23 00:07:02 +0400
committerJohn Langford <jl@hunch.net>2009-08-23 00:07:02 +0400
commit848527b1e758755879d27deebdb45ef4251acf1e (patch)
tree725eaa75b4a3daad2a7755648e9a2beaa1d6f5b7 /sender.cc
parentc29c0673e41581989bd515014a0581c7fb2018c7 (diff)
Made binary mode sending work.
Diffstat (limited to 'sender.cc')
-rw-r--r--sender.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sender.cc b/sender.cc
index f58475f3..39ecb503 100644
--- a/sender.cc
+++ b/sender.cc
@@ -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;
}