Updated syntax for player binary.

This commit is contained in:
Thulinma 2013-12-20 16:02:47 +01:00
parent 5eafed5485
commit 8c09bbc3e9

View file

@ -258,9 +258,7 @@ int main(int argc, char** argv){
in_out.setBlocking(true);
}else{
lasttime = Util::epoch();
//insert proper header for this type of data
JSON::Value toSend = source.getJSON();
toSend.sendTo(in_out);
source.getJSON().sendTo(in_out);
}
}else{
Util::sleep(10);