Reverts the last 2 Rpc changes (#114)

* Revert "Fully asigns the ConnectionInfo struct (#113)"

This reverts commit 9a3100b221.

* Revert "Passes the ConnectionInfo of the Rpc client on server callback (#112)"

This reverts commit 7e9754acff.
This commit is contained in:
Thad House
2016-09-16 22:23:58 -07:00
committed by Peter Johnson
parent 9a3100b221
commit e952236e1a
8 changed files with 12 additions and 51 deletions

View File

@@ -5,8 +5,7 @@
#include "ntcore.h"
std::string callback1(nt::StringRef name, nt::StringRef params_str,
const nt::ConnectionInfo& conn_info) {
std::string callback1(nt::StringRef name, nt::StringRef params_str) {
auto params = nt::UnpackRpcValues(params_str, NT_DOUBLE);
if (params.empty()) {
std::fputs("empty params?\n", stderr);