From b508aac64a1c189367a34e79906a7b2553d0ad15 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 7 Feb 2017 13:34:00 +0000 Subject: Use only send/recv in IPC --- test/RPCSession.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/RPCSession.h') 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; }; -- cgit v1.2.3