diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-07 21:34:00 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 20:23:34 +0800 |
commit | b508aac64a1c189367a34e79906a7b2553d0ad15 (patch) | |
tree | 86648909a0804fc3e5d23a3220db599415dcb554 /test/RPCSession.h | |
parent | 1b7bb371eec07590177d6af75a90a1e29f3f9d3f (diff) | |
download | dexon-solidity-b508aac64a1c189367a34e79906a7b2553d0ad15.tar.gz dexon-solidity-b508aac64a1c189367a34e79906a7b2553d0ad15.tar.zst dexon-solidity-b508aac64a1c189367a34e79906a7b2553d0ad15.zip |
Use only send/recv in IPC
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r-- | test/RPCSession.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/RPCSession.h b/test/RPCSession.h index fc166b99..5369e1e2 100644 --- a/test/RPCSession.h +++ b/test/RPCSession.h @@ -55,12 +55,11 @@ class IPCSocket: public boost::noncopyable public: IPCSocket(std::string const& _path); std::string sendRequest(std::string const& _req); - ~IPCSocket() { close(m_socket); fclose(m_fp); } + ~IPCSocket() { close(m_socket); } std::string const& path() const { return m_path; } private: - FILE *m_fp; std::string m_path; int m_socket; }; |